#CAC92F#CAC92F

#CAC92F is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.1% C 0.163 H 109.2°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CAC92F
RGBrgb(202, 201, 47)
HSLhsl(60, 62%, 49%)
HSVhsv(60, 77%, 79%)
CMYKcmyk(0%, 0.5%, 76.7%, 20.8%)
CIE-LABlab(78.77, -16.63, 70.81)
CIE-LCHlch(78.77, 72.74, 103.22°)
OKLaboklab(81.13% -0.0536 0.1544)
OKLCHoklch(81.13% 0.163 109.2)
XYZxyz(45.7586, 54.5365, 10.8050)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC92F #2F30CA
analogous
#CA7C2F #CAC92F #7ECA2F
triadic
#CAC92F #2FCAC9 #C92FCA
tetradic
#CAC92F #2FCA7C #2F30CA #CA2F7E
square
#CAC92F #2FCA7C #2F30CA #CA2F7E
split-complementary
#CAC92F #2F7ECA #7C2FCA
monochromatic
#676618 #989823 #CAC92F #D9D85D #E5E48F

Accessibility & contrast

On white

1.76
#CAC92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#CAC92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC92F
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC92F#FFFFFF#000000##000000
##CAC92F1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC000
Deuteranopia (green-blind)
#DCC53C
Tritanopia (blue-blind)
#D9BCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cac92f;
/* rgb */ color: rgb(202, 201, 47);
/* oklch */ color: oklch(81.1% 0.163 109.2);
Tailwind
colors: {
  custom: {
    50: '#ded975',
    500: '#cac92f',
    950: '#000000',
  },
}
SCSS
$custom: #cac92f;
$custom-light: #ded975;
$custom-dark: #000000;
JSON
{
  "hex": "#cac92f",
  "rgb": {
    "r": 202,
    "g": 201,
    "b": 47
  },
  "hsl": {
    "h": 59.613,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81131,
    "c": 0.16341,
    "h": 109.2
  },
  "luminance": 0.54535
}

Semantic roles & 50–950 ramp

primary
#CAC92F
secondary
#2C2D71
accent
#44E542
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CAC92F

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

Preview Lab → · Contrast checker → · Palette generator →

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