Skip to content

#cad94f

a balanced, vivid yellow · warm · closest name: Yellow Green

RGB
202, 217, 79
HSL
67°, 65%, 58%
CMYK
7, 0, 64, 15
Luminance
0.6275

At a glance

Every number on this page in one read: what #cad94f is made of, how bright it looks, and which way it leans.

Hex
#cad94f
Hue
67°
yellow
Saturation
65%
vivid
Lightness
58%
balanced
Brightness
85%
HSV value
Perceived
79%
weighted brightness
Luminance
0.6275
WCAG relative
Temperature
Warm
30/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
13.55:1
Closest name
Yellow Green
ΔE2000 8
Where it sits
Hue67° of 360°
Saturation65%
Lightness58%
Temperature
Warm ← → Cool30% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cad94f
RGBrgb(202, 217, 79)
HSLhsl(67, 65%, 58%)
CMYKcmyk(7%, 0%, 64%, 15%)
LABlab(83.3 -22.9 63.9)
LCHlch(83.3 67.8 109.7)
OKLCHoklch(0.848 0.160 115.2)
Decimal13293903
Display P3color(display-p3 0.792 0.851 0.310)

Copy-ready code

/* CSS */
color: #cad94f;
background-color: #cad94f;
/* Tailwind (arbitrary) */
class="text-[#cad94f] bg-[#cad94f]"
/* SCSS */
$brand: #cad94f;
/* SwiftUI */
Color(red: 0.792, green: 0.851, blue: 0.310)
/* Android */
Color.parseColor("#cad94f")
/* Flutter */
Color(0xFFCAD94F)
/* Python / OpenCV (BGR) */
(79, 217, 202)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #cad94f · 13.55:1
Use #000000AAA at every size.
Aa
White text · 1.55:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.55:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cad94f as text scores 1.55:1 on white and 13.55:1 on black.

Accessibility — WCAG contrast

Aa
#cad94f on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#cad94f on black: 13.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #E8CF3D
deuteranopia · #E7D158
tritanopia · #D6CDBD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cad94f is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAFBF4
#F6F7E8
#EDF1CB
#E3EBA3
#D5E175
#cad94f
#B8C92B
#9AA824
#7B861D
#5A6219
#383D10
Base = 500Lightest = 50 · #FAFBF4Darkest = 950 · #383D10
:root {
  --brand-50: #FAFBF4;
  --brand-100: #F6F7E8;
  --brand-200: #EDF1CB;
  --brand-300: #E3EBA3;
  --brand-400: #D5E175;
  --brand-500: #cad94f;
  --brand-600: #B8C92B;
  --brand-700: #9AA824;
  --brand-800: #7B861D;
  --brand-900: #5A6219;
  --brand-950: #383D10;
  --brand: #cad94f;
  --brand-ink: #000000;
}

Colors that work with #cad94f

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAFAF4
Tinted page background
Border#E8EDC0
Hairlines and dividers
Muted text#929B4B
Captions on the surface
Accent#4B5FDD
Second voice, not a rival
Dark variant#606917
Hover, pressed, headers
Light variant#F9FAEA
Selected rows, tints
Dark surface#232414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #cad94f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#5E4FD9
Analogous left#D9A34F
Analogous right#85D94F
Split-complement 1#4F85D9
Split-complement 2#A34FD9
Triadic 1#4FCAD9
Triadic 2#D94FCA
Tetradic#4FD9A3

RGB percentages

Red79.2%
Green85.1%
Blue31.0%

CMYK percentages

Cyan6.9%
Magenta0.0%
Yellow63.6%
Key (black)14.9%

Color previews

#cad94f text on a black background

contrast 13.55:1

Card sample

#cad94f text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cad94f;
Background color
Panel with #cad94f background
background-color: #cad94f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cad94f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(202, 217, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 217, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cad94f;
background: linear-gradient(135deg, #cad94f, #6ED94F);

Monochromatic scale

Palettes built from #cad94f

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#cad94f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#cad94f, answered

What color is #cad94f?

#cad94f is a balanced vivid yellow, closest to Yellow Green (ΔE2000 8). It sits at 67° on the hue wheel with 65% saturation and 58% lightness, which reads as warm.

What is the RGB value of #cad94f?

rgb(202, 217, 79) — 202 red, 217 green and 79 blue out of 255, or 79.2% / 85.1% / 31% by channel.

Is #cad94f a light or a dark color?

It is a light color. Relative luminance is 0.6275 and perceived brightness is 79%, so black text on it reaches 13.55:1.

Should I use black or white text on #cad94f?

Black. It scores 13.55:1 against #cad94f, versus 1.55:1 for white — AAA at any size.

What is the complementary color of #cad94f?

#5E4FD9 sits directly opposite on the wheel. Softer options are the split-complements #4F85D9 and #A34FD9, which give the same contrast with far less vibration.

What colors go well with #cad94f?

For interface work: #FAFAF4 as the surface, #E8EDC0 for borders, #929B4B for secondary text, #4B5FDD as an accent and #606917 for hover and pressed states. For a palette, the analogous pair #D9A34F and #85D94F stays calm, while #5E4FD9 is the loudest partner.

What is #cad94f in CMYK for printing?

cmyk(7%, 0%, 64%, 15%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cad94f warm or cool?

Warm — it scores 30 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D9B54F; nudged cooler, #97DB4D.

Work with #cad94f in the Color Lab