#CACE5B#CACE5B

#CACE5B is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.6% C 0.138 H 110.9°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CACE5B
RGBrgb(202, 206, 91)
HSLhsl(62, 54%, 58%)
HSVhsv(62, 56%, 81%)
CMYKcmyk(1.9%, 0%, 55.8%, 19.2%)
CIE-LABlab(80.44, -16.62, 55.61)
CIE-LCHlch(80.44, 58.04, 106.64°)
OKLaboklab(82.56% -0.0493 0.129)
OKLCHoklch(82.56% 0.138 110.9)
XYZxyz(48.3180, 57.4556, 18.4403)
Luminance0.5746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CACE5B #5F5BCE
analogous
#CE985B #CACE5B #90CE5B
triadic
#CACE5B #5BCACE #CE5BCA
tetradic
#CACE5B #5BCE98 #5F5BCE #CE5B90
square
#CACE5B #5BCE98 #5F5BCE #CE5B90
split-complementary
#CACE5B #5B90CE #985BCE
monochromatic
#838628 #B1B636 #CACE5B #D9DC8A #E8EAB9

Accessibility & contrast

On white

1.68
#CACE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CACE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CACE5B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CACE5B#FFFFFF#000000##000000
##CACE5B1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC64F
Deuteranopia (green-blind)
#DDC962
Tritanopia (blue-blind)
#D6C3B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cace5b;
/* rgb */ color: rgb(202, 206, 91);
/* oklch */ color: oklch(82.6% 0.138 110.9);
Tailwind
colors: {
  custom: {
    50: '#dcdc8d',
    500: '#cace5b',
    950: '#000000',
  },
}
SCSS
$custom: #cace5b;
$custom-light: #dcdc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cace5b",
  "rgb": {
    "r": 202,
    "g": 206,
    "b": 91
  },
  "hsl": {
    "h": 62.087,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82558,
    "c": 0.1381,
    "h": 110.9
  },
  "luminance": 0.57455
}

Semantic roles & 50–950 ramp

primary
#CACE5B
secondary
#43408D
accent
#4ADD50
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CACE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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