#CAC23B#CAC23B

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

Color values

HEX#CAC23B
RGBrgb(202, 194, 59)
HSLhsl(57, 57%, 51%)
HSVhsv(57, 71%, 79%)
CMYKcmyk(0%, 4%, 70.8%, 20.8%)
CIE-LABlab(76.96, -12.59, 65.11)
CIE-LCHlch(76.96, 66.31, 100.95°)
OKLaboklab(79.7% -0.0413 0.1444)
OKLCHoklch(79.7% 0.15 105.9)
XYZxyz(44.4401, 51.4575, 11.7282)
Luminance0.5146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC23B #3B43CA
analogous
#CA7A3B #CAC23B #8ACA3B
triadic
#CAC23B #3BCAC2 #C23BCA
tetradic
#CAC23B #3BCA7A #3B43CA #CA3B8A
square
#CAC23B #3BCA7A #3B43CA #CA3B8A
split-complementary
#CAC23B #3B8ACA #7A3BCA
monochromatic
#6D691E #9D972B #CAC23B #D7D16B #E4E09B

Accessibility & contrast

On white

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

On black

11.29
#CAC23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC23B
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC23B#FFFFFF#000000##000000
##CAC23B1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cac23b;
/* rgb */ color: rgb(202, 194, 59);
/* oklch */ color: oklch(79.7% 0.150 105.9);
Tailwind
colors: {
  custom: {
    50: '#ded47a',
    500: '#cac23b',
    950: '#000000',
  },
}
SCSS
$custom: #cac23b;
$custom-light: #ded47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cac23b",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 56.643,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79702,
    "c": 0.1502,
    "h": 105.9
  },
  "luminance": 0.51456
}

Semantic roles & 50–950 ramp

primary
#CAC23B
secondary
#333677
accent
#50E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC23B

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

Preview Lab → · Contrast checker → · Palette generator →

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