#CAC25E#CAC25E

#CAC25E is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.0% C 0.123 H 104.7°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#CAC25E
RGBrgb(202, 194, 94)
HSLhsl(56, 50%, 58%)
HSVhsv(56, 53%, 79%)
CMYKcmyk(0%, 4%, 53.5%, 20.8%)
CIE-LABlab(77.25, -10.32, 50.59)
CIE-LCHlch(77.25, 51.63, 101.53°)
OKLaboklab(80.03% -0.031 0.1185)
OKLCHoklch(80.03% 0.123 104.7)
XYZxyz(45.6706, 51.9497, 18.2090)
Luminance0.5195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAC25E #5E66CA
analogous
#CA8C5E #CAC25E #9CCA5E
triadic
#CAC25E #5ECAC2 #C25ECA
tetradic
#CAC25E #5ECA8C #5E66CA #CA5E9C
square
#CAC25E #5ECA8C #5E66CA #CA5E9C
split-complementary
#CAC25E #5E9CCA #8C5ECA
monochromatic
#837C2B #B1A83A #CAC25E #D9D38C #E8E5BA

Accessibility & contrast

On white

1.84
#CAC25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#CAC25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAC25E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAC25E#FFFFFF#000000##000000
##CAC25E1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC54
Deuteranopia (green-blind)
#D4C163
Tritanopia (blue-blind)
#D7B7AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cac25e;
/* rgb */ color: rgb(202, 194, 94);
/* oklch */ color: oklch(80.0% 0.123 104.7);
Tailwind
colors: {
  custom: {
    50: '#dcd48e',
    500: '#cac25e',
    950: '#000000',
  },
}
SCSS
$custom: #cac25e;
$custom-light: #dcd48e;
$custom-dark: #000000;
JSON
{
  "hex": "#cac25e",
  "rgb": {
    "r": 202,
    "g": 194,
    "b": 94
  },
  "hsl": {
    "h": 55.556,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80032,
    "c": 0.12251,
    "h": 104.7
  },
  "luminance": 0.51948
}

Semantic roles & 50–950 ramp

primary
#CAC25E
secondary
#42478A
accent
#58DA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CAC25E

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

Preview Lab → · Contrast checker → · Palette generator →

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