#CABE5D#CABE5D

#CABE5D is a light, moderate yellow. Relative luminance 0.502; OKLCH L 79.2% C 0.119 H 102.3°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#CABE5D
RGBrgb(202, 190, 93)
HSLhsl(53, 51%, 58%)
HSVhsv(53, 54%, 79%)
CMYKcmyk(0%, 5.9%, 54%, 20.8%)
CIE-LABlab(76.18, -8.35, 49.81)
CIE-LCHlch(76.18, 50.51, 99.51°)
OKLaboklab(79.18% -0.0255 0.1167)
OKLCHoklch(79.18% 0.119 102.3)
XYZxyz(44.7478, 50.1754, 17.6815)
Luminance0.5017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE5D #5D69CA
analogous
#CA875D #CABE5D #A0CA5D
triadic
#CABE5D #5DCABE #BE5DCA
tetradic
#CABE5D #5DCA87 #5D69CA #CA5DA0
square
#CABE5D #5DCA87 #5D69CA #CA5DA0
split-complementary
#CABE5D #5DA0CA #875DCA
monochromatic
#82782B #B0A33A #CABE5D #D9D18B #E8E3B9

Accessibility & contrast

On white

1.90
#CABE5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#CABE5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE5D
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE5D#FFFFFF#000000##000000
##CABE5D1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB954
Deuteranopia (green-blind)
#D1BE62
Tritanopia (blue-blind)
#D7B3A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabe5d;
/* rgb */ color: rgb(202, 190, 93);
/* oklch */ color: oklch(79.2% 0.119 102.3);
Tailwind
colors: {
  custom: {
    50: '#dcd18e',
    500: '#cabe5d',
    950: '#000000',
  },
}
SCSS
$custom: #cabe5d;
$custom-light: #dcd18e;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe5d",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 93
  },
  "hsl": {
    "h": 53.394,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79175,
    "c": 0.11949,
    "h": 102.3
  },
  "luminance": 0.50174
}

Semantic roles & 50–950 ramp

primary
#CABE5D
secondary
#42498A
accent
#5DDA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CABE5D

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

Preview Lab → · Contrast checker → · Palette generator →

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