#CAC74C#CAC74C

#CAC74C is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.9% C 0.143 H 107.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CAC74C
RGBrgb(202, 199, 76)
HSLhsl(59, 54%, 55%)
HSVhsv(59, 62%, 79%)
CMYKcmyk(0%, 1.5%, 62.4%, 20.8%)
CIE-LABlab(78.42, -14.17, 59.92)
CIE-LCHlch(78.42, 61.57, 103.30°)
OKLaboklab(80.91% -0.0439 0.1362)
OKLCHoklch(80.91% 0.143 107.9)
XYZxyz(46.0866, 53.9266, 14.8173)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC74C #4C4FCA
analogous
#CA884C #CAC74C #8ECA4C
triadic
#CAC74C #4CCAC7 #C74CCA
tetradic
#CAC74C #4CCA88 #4C4FCA #CA4C8E
square
#CAC74C #4CCA88 #4C4FCA #CA4C8E
split-complementary
#CAC74C #4C8ECA #884CCA
monochromatic
#787624 #A7A432 #CAC74C #D8D67B #E6E5AA

Accessibility & contrast

On white

1.78
#CAC74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#CAC74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC74C
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC74C#FFFFFF#000000##000000
##CAC74C1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF3D
Deuteranopia (green-blind)
#D9C453
Tritanopia (blue-blind)
#D8BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac74c;
/* rgb */ color: rgb(202, 199, 76);
/* oklch */ color: oklch(80.9% 0.143 107.9);
Tailwind
colors: {
  custom: {
    50: '#ddd784',
    500: '#cac74c',
    950: '#000000',
  },
}
SCSS
$custom: #cac74c;
$custom-light: #ddd784;
$custom-dark: #000000;
JSON
{
  "hex": "#cac74c",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 58.571,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80907,
    "c": 0.14312,
    "h": 107.9
  },
  "luminance": 0.53925
}

Semantic roles & 50–950 ramp

primary
#CAC74C
secondary
#3A3B80
accent
#4EDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CAC74C

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

Preview Lab → · Contrast checker → · Palette generator →

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