#CAC23D#CAC23D

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

Color values

HEX#CAC23D
RGBrgb(202, 194, 61)
HSLhsl(57, 57%, 52%)
HSVhsv(57, 70%, 79%)
CMYKcmyk(0%, 4%, 69.8%, 20.8%)
CIE-LABlab(76.97, -12.50, 64.38)
CIE-LCHlch(76.97, 65.58, 100.98°)
OKLaboklab(79.72% -0.0408 0.1432)
OKLCHoklch(79.72% 0.149 105.9)
XYZxyz(44.4930, 51.4787, 12.0067)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC23D #3D45CA
analogous
#CA7C3D #CAC23D #8CCA3D
triadic
#CAC23D #3DCAC2 #C23DCA
tetradic
#CAC23D #3DCA7C #3D45CA #CA3D8C
square
#CAC23D #3DCA7C #3D45CA #CA3D8C
split-complementary
#CAC23D #3D8CCA #7C3DCA
monochromatic
#6E6A1E #9F982B #CAC23D #D7D16D #E4E09D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAC23D#FFFFFF#000000##000000
##CAC23D1.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)
#D3BB28
Deuteranopia (green-blind)
#D6C146
Tritanopia (blue-blind)
#D9B5A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac23d;
/* rgb */ color: rgb(202, 194, 61);
/* oklch */ color: oklch(79.7% 0.149 105.9);
Tailwind
colors: {
  custom: {
    50: '#ded47b',
    500: '#cac23d',
    950: '#000000',
  },
}
SCSS
$custom: #cac23d;
$custom-light: #ded47b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac23d",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 61
  },
  "hsl": {
    "h": 56.596,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79716,
    "c": 0.14893,
    "h": 105.9
  },
  "luminance": 0.51477
}

Semantic roles & 50–950 ramp

primary
#CAC23D
secondary
#333778
accent
#50E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CAC23D

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

Preview Lab → · Contrast checker → · Palette generator →

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