#CAC458#CAC458

#CAC458 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.130 H 106.0°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#CAC458
RGBrgb(202, 196, 88)
HSLhsl(57, 52%, 57%)
HSVhsv(57, 56%, 79%)
CMYKcmyk(0%, 3%, 56.4%, 20.8%)
CIE-LABlab(77.72, -11.81, 53.91)
CIE-LCHlch(77.72, 55.19, 102.36°)
OKLaboklab(80.39% -0.0359 0.125)
OKLCHoklch(80.39% 0.13 106)
XYZxyz(45.8599, 52.7424, 16.9952)
Luminance0.5274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC458 #585ECA
analogous
#CA8B58 #CAC458 #97CA58
triadic
#CAC458 #58CAC4 #C458CA
tetradic
#CAC458 #58CA8B #585ECA #CA5897
square
#CAC458 #58CA8B #585ECA #CA5897
split-complementary
#CAC458 #5897CA #8B58CA
monochromatic
#7F7B28 #AEA737 #CAC458 #D9D486 #E7E5B5

Accessibility & contrast

On white

1.82
#CAC458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#CAC458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC458
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC458#FFFFFF#000000##000000
##CAC4581.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4D
Deuteranopia (green-blind)
#D6C25E
Tritanopia (blue-blind)
#D7B8AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cac458;
/* rgb */ color: rgb(202, 196, 88);
/* oklch */ color: oklch(80.4% 0.130 106.0);
Tailwind
colors: {
  custom: {
    50: '#ddd58b',
    500: '#cac458',
    950: '#000000',
  },
}
SCSS
$custom: #cac458;
$custom-light: #ddd58b;
$custom-dark: #000000;
JSON
{
  "hex": "#cac458",
  "rgb": {
    "r": 202,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 56.842,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80387,
    "c": 0.13006,
    "h": 106
  },
  "luminance": 0.52741
}

Semantic roles & 50–950 ramp

primary
#CAC458
secondary
#3F4387
accent
#54DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC458

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

Preview Lab → · Contrast checker → · Palette generator →

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