#CAC34E#CAC34E

#CAC34E is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.1% C 0.138 H 105.9°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#CAC34E
RGBrgb(202, 195, 78)
HSLhsl(57, 54%, 55%)
HSVhsv(57, 61%, 79%)
CMYKcmyk(0%, 3.5%, 61.4%, 20.8%)
CIE-LABlab(77.36, -12.01, 57.94)
CIE-LCHlch(77.36, 59.17, 101.71°)
OKLaboklab(80.07% -0.0376 0.1323)
OKLCHoklch(80.07% 0.138 105.9)
XYZxyz(45.2489, 52.1383, 14.8864)
Luminance0.5214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC34E #4E55CA
analogous
#CA854E #CAC34E #93CA4E
triadic
#CAC34E #4ECAC3 #C34ECA
tetradic
#CAC34E #4ECA85 #4E55CA #CA4E93
square
#CAC34E #4ECA85 #4E55CA #CA4E93
split-complementary
#CAC34E #4E93CA #854ECA
monochromatic
#797424 #A8A232 #CAC34E #D8D37D #E6E3AC

Accessibility & contrast

On white

1.84
#CAC34E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#CAC34E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC34E
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC34E#FFFFFF#000000##000000
##CAC34E1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC40
Deuteranopia (green-blind)
#D6C155
Tritanopia (blue-blind)
#D8B7AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac34e;
/* rgb */ color: rgb(202, 195, 78);
/* oklch */ color: oklch(80.1% 0.138 105.9);
Tailwind
colors: {
  custom: {
    50: '#ddd485',
    500: '#cac34e',
    950: '#000000',
  },
}
SCSS
$custom: #cac34e;
$custom-light: #ddd485;
$custom-dark: #000000;
JSON
{
  "hex": "#cac34e",
  "rgb": {
    "r": 202,
    "g": 195,
    "b": 78
  },
  "hsl": {
    "h": 56.613,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80072,
    "c": 0.13755,
    "h": 105.9
  },
  "luminance": 0.52137
}

Semantic roles & 50–950 ramp

primary
#CAC34E
secondary
#3B3F82
accent
#53DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC34E

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

Preview Lab → · Contrast checker → · Palette generator →

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