#CAC44E#CAC44E

#CAC44E is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.3% C 0.139 H 106.4°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CAC44E
RGBrgb(202, 196, 78)
HSLhsl(57, 54%, 55%)
HSVhsv(57, 61%, 79%)
CMYKcmyk(0%, 3%, 61.4%, 20.8%)
CIE-LABlab(77.63, -12.52, 58.23)
CIE-LCHlch(77.63, 59.56, 102.14°)
OKLaboklab(80.29% -0.039 0.1329)
OKLCHoklch(80.29% 0.139 106.4)
XYZxyz(45.4737, 52.5879, 14.9614)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC44E #4E54CA
analogous
#CA864E #CAC44E #92CA4E
triadic
#CAC44E #4ECAC4 #C44ECA
tetradic
#CAC44E #4ECA86 #4E54CA #CA4E92
square
#CAC44E #4ECA86 #4E54CA #CA4E92
split-complementary
#CAC44E #4E92CA #864ECA
monochromatic
#797524 #A8A332 #CAC44E #D8D47D #E6E3AC

Accessibility & contrast

On white

1.82
#CAC44E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CAC44E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC44E
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC44E#FFFFFF#000000##000000
##CAC44E1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD40
Deuteranopia (green-blind)
#D6C255
Tritanopia (blue-blind)
#D8B8AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac44e;
/* rgb */ color: rgb(202, 196, 78);
/* oklch */ color: oklch(80.3% 0.139 106.4);
Tailwind
colors: {
  custom: {
    50: '#ddd585',
    500: '#cac44e',
    950: '#000000',
  },
}
SCSS
$custom: #cac44e;
$custom-light: #ddd585;
$custom-dark: #000000;
JSON
{
  "hex": "#cac44e",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 78
  },
  "hsl": {
    "h": 57.097,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80285,
    "c": 0.13854,
    "h": 106.4
  },
  "luminance": 0.52586
}

Semantic roles & 50–950 ramp

primary
#CAC44E
secondary
#3B3E82
accent
#52DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC44E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CAC44E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva