#CABE2D#CABE2D

#CABE2D is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.8% C 0.154 H 104.4°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#CABE2D
RGBrgb(202, 190, 45)
HSLhsl(55, 64%, 48%)
HSVhsv(55, 78%, 79%)
CMYKcmyk(0%, 5.9%, 77.7%, 20.8%)
CIE-LABlab(75.81, -11.15, 68.74)
CIE-LCHlch(75.81, 69.64, 99.22°)
OKLaboklab(78.76% -0.0385 0.1496)
OKLCHoklch(78.76% 0.154 104.4)
XYZxyz(43.2462, 49.5747, 9.7730)
Luminance0.4957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE2D #2D39CA
analogous
#CA6F2D #CABE2D #87CA2D
triadic
#CABE2D #2DCABE #BE2DCA
tetradic
#CABE2D #2DCA6F #2D39CA #CA2D87
square
#CABE2D #2DCA6F #2D39CA #CA2D87
split-complementary
#CABE2D #2D87CA #6F2DCA
monochromatic
#666017 #988F22 #CABE2D #DAD05A #E5DF8C

Accessibility & contrast

On white

1.92
#CABE2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#CABE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE2D
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE2D#FFFFFF#000000##000000
##CABE2D1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB702
Deuteranopia (green-blind)
#D3BE39
Tritanopia (blue-blind)
#D9B0A3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabe2d;
/* rgb */ color: rgb(202, 190, 45);
/* oklch */ color: oklch(78.8% 0.154 104.4);
Tailwind
colors: {
  custom: {
    50: '#ded172',
    500: '#cabe2d',
    950: '#000000',
  },
}
SCSS
$custom: #cabe2d;
$custom-light: #ded172;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe2d",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 45
  },
  "hsl": {
    "h": 55.414,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78763,
    "c": 0.15445,
    "h": 104.4
  },
  "luminance": 0.49573
}

Semantic roles & 50–950 ramp

primary
#CABE2D
secondary
#8389CF
accent
#4EE741
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #CABE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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