#CAC73E#CAC73E

#CAC73E is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.8% C 0.153 H 108.1°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CAC73E
RGBrgb(202, 199, 62)
HSLhsl(59, 57%, 52%)
HSVhsv(59, 69%, 79%)
CMYKcmyk(0%, 1.5%, 69.3%, 20.8%)
CIE-LABlab(78.32, -14.97, 65.34)
CIE-LCHlch(78.32, 67.04, 102.90°)
OKLaboklab(80.79% -0.0476 0.1454)
OKLCHoklch(80.79% 0.153 108.1)
XYZxyz(45.6517, 53.7527, 12.5270)
Luminance0.5375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC73E #3E41CA
analogous
#CA813E #CAC73E #87CA3E
triadic
#CAC73E #3ECAC7 #C73ECA
tetradic
#CAC73E #3ECA81 #3E41CA #CA3E87
square
#CAC73E #3ECA81 #3E41CA #CA3E87
split-complementary
#CAC73E #3E87CA #813ECA
monochromatic
#6F6D1F #9F9D2C #CAC73E #D7D56E #E4E39E

Accessibility & contrast

On white

1.79
#CAC73E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CAC73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC73E
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC73E#FFFFFF#000000##000000
##CAC73E1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF28
Deuteranopia (green-blind)
#DAC448
Tritanopia (blue-blind)
#D8BAAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac73e;
/* rgb */ color: rgb(202, 199, 62);
/* oklch */ color: oklch(80.8% 0.153 108.1);
Tailwind
colors: {
  custom: {
    50: '#ded77c',
    500: '#cac73e',
    950: '#000000',
  },
}
SCSS
$custom: #cac73e;
$custom-light: #ded77c;
$custom-dark: #000000;
JSON
{
  "hex": "#cac73e",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 62
  },
  "hsl": {
    "h": 58.714,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80794,
    "c": 0.15304,
    "h": 108.1
  },
  "luminance": 0.53751
}

Semantic roles & 50–950 ramp

primary
#CAC73E
secondary
#343578
accent
#4BE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC73E

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

Preview Lab → · Contrast checker → · Palette generator →

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