#CAC23E#CAC23E

#CAC23E is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.7% C 0.148 H 105.9°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CAC23E
RGBrgb(202, 194, 62)
HSLhsl(57, 57%, 52%)
HSVhsv(57, 69%, 79%)
CMYKcmyk(0%, 4%, 69.3%, 20.8%)
CIE-LABlab(76.97, -12.44, 64.01)
CIE-LCHlch(76.97, 65.21, 101.00°)
OKLaboklab(79.72% -0.0405 0.1426)
OKLCHoklch(79.72% 0.148 105.9)
XYZxyz(44.5201, 51.4895, 12.1498)
Luminance0.5149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC23E #3E46CA
analogous
#CA7C3E #CAC23E #8CCA3E
triadic
#CAC23E #3ECAC2 #C23ECA
tetradic
#CAC23E #3ECA7C #3E46CA #CA3E8C
square
#CAC23E #3ECA7C #3E46CA #CA3E8C
split-complementary
#CAC23E #3E8CCA #7C3ECA
monochromatic
#6F6A1F #9F992C #CAC23E #D7D16E #E4E09E

Accessibility & contrast

On white

1.86
#CAC23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CAC23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC23E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC23E#FFFFFF#000000##000000
##CAC23E1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB29
Deuteranopia (green-blind)
#D6C147
Tritanopia (blue-blind)
#D9B5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac23e;
/* rgb */ color: rgb(202, 194, 62);
/* oklch */ color: oklch(79.7% 0.148 105.9);
Tailwind
colors: {
  custom: {
    50: '#ded47b',
    500: '#cac23e',
    950: '#000000',
  },
}
SCSS
$custom: #cac23e;
$custom-light: #ded47b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac23e",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 62
  },
  "hsl": {
    "h": 56.571,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79723,
    "c": 0.14829,
    "h": 105.9
  },
  "luminance": 0.51488
}

Semantic roles & 50–950 ramp

primary
#CAC23E
secondary
#343878
accent
#50E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC23E

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

Preview Lab → · Contrast checker → · Palette generator →

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