#CABE5C#CABE5C

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

Color values

HEX#CABE5C
RGBrgb(202, 190, 92)
HSLhsl(53, 51%, 58%)
HSVhsv(53, 54%, 79%)
CMYKcmyk(0%, 5.9%, 54.5%, 20.8%)
CIE-LABlab(76.17, -8.43, 50.27)
CIE-LCHlch(76.17, 50.97, 99.52°)
OKLaboklab(79.16% -0.0258 0.1176)
OKLCHoklch(79.16% 0.12 102.4)
XYZxyz(44.7038, 50.1578, 17.4498)
Luminance0.5016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE5C #5C68CA
analogous
#CA875C #CABE5C #9FCA5C
triadic
#CABE5C #5CCABE #BE5CCA
tetradic
#CABE5C #5CCA87 #5C68CA #CA5C9F
square
#CABE5C #5CCA87 #5C68CA #CA5C9F
split-complementary
#CABE5C #5C9FCA #875CCA
monochromatic
#81782A #B0A339 #CABE5C #D9D08A #E8E3B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABE5C#FFFFFF#000000##000000
##CABE5C1.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)
#CDB953
Deuteranopia (green-blind)
#D1BE61
Tritanopia (blue-blind)
#D7B3A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabe5c;
/* rgb */ color: rgb(202, 190, 92);
/* oklch */ color: oklch(79.2% 0.120 102.4);
Tailwind
colors: {
  custom: {
    50: '#dcd18d',
    500: '#cabe5c',
    950: '#000000',
  },
}
SCSS
$custom: #cabe5c;
$custom-light: #dcd18d;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe5c",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 92
  },
  "hsl": {
    "h": 53.455,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79163,
    "c": 0.12043,
    "h": 102.4
  },
  "luminance": 0.50156
}

Semantic roles & 50–950 ramp

primary
#CABE5C
secondary
#414989
accent
#5DDA4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CABE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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