#CAC254#CAC254

#CAC254 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.9% C 0.132 H 105.1°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CAC254
RGBrgb(202, 194, 84)
HSLhsl(56, 53%, 56%)
HSVhsv(56, 58%, 79%)
CMYKcmyk(0%, 4%, 58.4%, 20.8%)
CIE-LABlab(77.15, -11.09, 55.07)
CIE-LCHlch(77.15, 56.18, 101.39°)
OKLaboklab(79.92% -0.0343 0.127)
OKLCHoklch(79.92% 0.132 105.1)
XYZxyz(45.2506, 51.7817, 15.9970)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC254 #545CCA
analogous
#CA8754 #CAC254 #97CA54
triadic
#CAC254 #54CAC2 #C254CA
tetradic
#CAC254 #54CA87 #545CCA #CA5497
square
#CAC254 #54CA87 #545CCA #CA5497
split-complementary
#CAC254 #5497CA #8754CA
monochromatic
#7D7727 #ACA435 #CAC254 #D8D383 #E7E3B1

Accessibility & contrast

On white

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

On black

11.36
#CAC254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC254
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC254#FFFFFF#000000##000000
##CAC2541.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC48
Deuteranopia (green-blind)
#D4C15A
Tritanopia (blue-blind)
#D8B6AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cac254;
/* rgb */ color: rgb(202, 194, 84);
/* oklch */ color: oklch(79.9% 0.132 105.1);
Tailwind
colors: {
  custom: {
    50: '#ddd488',
    500: '#cac254',
    950: '#000000',
  },
}
SCSS
$custom: #cac254;
$custom-light: #ddd488;
$custom-dark: #000000;
JSON
{
  "hex": "#cac254",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 84
  },
  "hsl": {
    "h": 55.932,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79919,
    "c": 0.13155,
    "h": 105.1
  },
  "luminance": 0.5178
}

Semantic roles & 50–950 ramp

primary
#CAC254
secondary
#3D4285
accent
#55DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC254

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

Preview Lab → · Contrast checker → · Palette generator →

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