#CAC65B#CAC65B

#CAC65B is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.8% C 0.129 H 107.0°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CAC65B
RGBrgb(202, 198, 91)
HSLhsl(58, 51%, 57%)
HSVhsv(58, 55%, 79%)
CMYKcmyk(0%, 2%, 55%, 20.8%)
CIE-LABlab(78.29, -12.60, 53.18)
CIE-LCHlch(78.29, 54.65, 103.33°)
OKLaboklab(80.85% -0.0378 0.1238)
OKLCHoklch(80.85% 0.129 107)
XYZxyz(46.4409, 53.7014, 17.8146)
Luminance0.5370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC65B #5B5FCA
analogous
#CA8F5B #CAC65B #96CA5B
triadic
#CAC65B #5BCAC6 #C65BCA
tetradic
#CAC65B #5BCA8F #5B5FCA #CA5B96
square
#CAC65B #5BCA8F #5B5FCA #CA5B96
split-complementary
#CAC65B #5B96CA #8F5BCA
monochromatic
#817E2A #AFAB39 #CAC65B #D9D689 #E8E6B8

Accessibility & contrast

On white

1.79
#CAC65B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CAC65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC65B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC65B#FFFFFF#000000##000000
##CAC65B1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF50
Deuteranopia (green-blind)
#D7C461
Tritanopia (blue-blind)
#D7BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cac65b;
/* rgb */ color: rgb(202, 198, 91);
/* oklch */ color: oklch(80.8% 0.129 107.0);
Tailwind
colors: {
  custom: {
    50: '#dcd78d',
    500: '#cac65b',
    950: '#000000',
  },
}
SCSS
$custom: #cac65b;
$custom-light: #dcd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cac65b",
  "rgb": {
    "r": 202,
    "g": 198,
    "b": 91
  },
  "hsl": {
    "h": 57.838,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80846,
    "c": 0.12943,
    "h": 107
  },
  "luminance": 0.537
}

Semantic roles & 50–950 ramp

primary
#CAC65B
secondary
#414389
accent
#52DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC65B

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

Preview Lab → · Contrast checker → · Palette generator →

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