#CAC258#CAC258

#CAC258 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.128 H 104.9°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CAC258
RGBrgb(202, 194, 88)
HSLhsl(56, 52%, 57%)
HSVhsv(56, 56%, 79%)
CMYKcmyk(0%, 4%, 56.4%, 20.8%)
CIE-LABlab(77.19, -10.79, 53.30)
CIE-LCHlch(77.19, 54.38, 101.45°)
OKLaboklab(79.96% -0.033 0.1237)
OKLCHoklch(79.96% 0.128 104.9)
XYZxyz(45.4118, 51.8462, 16.8458)
Luminance0.5184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC258 #5860CA
analogous
#CA8958 #CAC258 #99CA58
triadic
#CAC258 #58CAC2 #C258CA
tetradic
#CAC258 #58CA89 #5860CA #CA5899
square
#CAC258 #58CA89 #5860CA #CA5899
split-complementary
#CAC258 #5899CA #8958CA
monochromatic
#7F7928 #AEA537 #CAC258 #D9D386 #E7E4B5

Accessibility & contrast

On white

1.85
#CAC258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CAC258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC258
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC258#FFFFFF#000000##000000
##CAC2581.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4D
Deuteranopia (green-blind)
#D4C15E
Tritanopia (blue-blind)
#D7B6AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac258;
/* rgb */ color: rgb(202, 194, 88);
/* oklch */ color: oklch(80.0% 0.128 104.9);
Tailwind
colors: {
  custom: {
    50: '#ddd48b',
    500: '#cac258',
    950: '#000000',
  },
}
SCSS
$custom: #cac258;
$custom-light: #ddd48b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac258",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 55.789,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79962,
    "c": 0.12804,
    "h": 104.9
  },
  "luminance": 0.51845
}

Semantic roles & 50–950 ramp

primary
#CAC258
secondary
#3F4487
accent
#57DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC258

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

Preview Lab → · Contrast checker → · Palette generator →

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