#CAC75F#CAC75F

#CAC75F is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.1% C 0.127 H 107.4°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CAC75F
RGBrgb(202, 199, 95)
HSLhsl(58, 50%, 58%)
HSVhsv(58, 53%, 79%)
CMYKcmyk(0%, 1.5%, 53%, 20.8%)
CIE-LABlab(78.60, -12.78, 51.68)
CIE-LCHlch(78.60, 53.24, 103.89°)
OKLaboklab(81.11% -0.0379 0.121)
OKLCHoklch(81.11% 0.127 107.4)
XYZxyz(46.8474, 54.2309, 18.8241)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC75F #5F62CA
analogous
#CA915F #CAC75F #97CA5F
triadic
#CAC75F #5FCAC7 #C75FCA
tetradic
#CAC75F #5FCA91 #5F62CA #CA5F97
square
#CAC75F #5FCA91 #5F62CA #CA5F97
split-complementary
#CAC75F #5F97CA #915FCA
monochromatic
#83812B #B1AE3B #CAC75F #D9D78D #E8E7BB

Accessibility & contrast

On white

1.77
#CAC75F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CAC75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC75F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC75F#FFFFFF#000000##000000
##CAC75F1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C055
Deuteranopia (green-blind)
#D7C464
Tritanopia (blue-blind)
#D7BCB0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac75f;
/* rgb */ color: rgb(202, 199, 95);
/* oklch */ color: oklch(81.1% 0.127 107.4);
Tailwind
colors: {
  custom: {
    50: '#dcd78f',
    500: '#cac75f',
    950: '#000000',
  },
}
SCSS
$custom: #cac75f;
$custom-light: #dcd78f;
$custom-dark: #000000;
JSON
{
  "hex": "#cac75f",
  "rgb": {
    "r": 202,
    "g": 199,
    "b": 95
  },
  "hsl": {
    "h": 58.318,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81105,
    "c": 0.1268,
    "h": 107.4
  },
  "luminance": 0.5423
}

Semantic roles & 50–950 ramp

primary
#CAC75F
secondary
#43458B
accent
#52DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CAC75F

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

Preview Lab → · Contrast checker → · Palette generator →

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