#CABE5A#CABE5A

#CABE5A is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.1% C 0.122 H 102.5°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#CABE5A
RGBrgb(202, 190, 90)
HSLhsl(54, 51%, 57%)
HSVhsv(54, 55%, 79%)
CMYKcmyk(0%, 5.9%, 55.4%, 20.8%)
CIE-LABlab(76.14, -8.59, 51.19)
CIE-LCHlch(76.14, 51.90, 99.52°)
OKLaboklab(79.14% -0.0265 0.1194)
OKLCHoklch(79.14% 0.122 102.5)
XYZxyz(44.6175, 50.1232, 16.9954)
Luminance0.5012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE5A #5A66CA
analogous
#CA865A #CABE5A #9ECA5A
triadic
#CABE5A #5ACABE #BE5ACA
tetradic
#CABE5A #5ACA86 #5A66CA #CA5A9E
square
#CABE5A #5ACA86 #5A66CA #CA5A9E
split-complementary
#CABE5A #5A9ECA #865ACA
monochromatic
#807729 #AFA238 #CABE5A #D9D088 #E8E2B7

Accessibility & contrast

On white

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

On black

11.02
#CABE5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE5A
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE5A#FFFFFF#000000##000000
##CABE5A1.001.9011.0211.02
#FFFFFF1.901.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB950
Deuteranopia (green-blind)
#D1BE5F
Tritanopia (blue-blind)
#D8B3A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabe5a;
/* rgb */ color: rgb(202, 190, 90);
/* oklch */ color: oklch(79.1% 0.122 102.5);
Tailwind
colors: {
  custom: {
    50: '#dcd18c',
    500: '#cabe5a',
    950: '#000000',
  },
}
SCSS
$custom: #cabe5a;
$custom-light: #dcd18c;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe5a",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 90
  },
  "hsl": {
    "h": 53.571,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79139,
    "c": 0.12229,
    "h": 102.5
  },
  "luminance": 0.50122
}

Semantic roles & 50–950 ramp

primary
#CABE5A
secondary
#404888
accent
#5CDB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CABE5A

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

Preview Lab → · Contrast checker → · Palette generator →

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