#CABF2D#CABF2D

#CABF2D is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.0% C 0.155 H 104.9°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#CABF2D
RGBrgb(202, 191, 45)
HSLhsl(56, 64%, 48%)
HSVhsv(56, 78%, 79%)
CMYKcmyk(0%, 5.4%, 77.7%, 20.8%)
CIE-LABlab(76.08, -11.66, 68.98)
CIE-LCHlch(76.08, 69.96, 99.60°)
OKLaboklab(78.98% -0.0399 0.1501)
OKLCHoklch(78.98% 0.155 104.9)
XYZxyz(43.4635, 50.0094, 9.8455)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF2D #2D38CA
analogous
#CA702D #CABF2D #86CA2D
triadic
#CABF2D #2DCABF #BF2DCA
tetradic
#CABF2D #2DCA70 #2D38CA #CA2D86
square
#CABF2D #2DCA70 #2D38CA #CA2D86
split-complementary
#CABF2D #2D86CA #702DCA
monochromatic
#666017 #989022 #CABF2D #DAD15A #E5DF8C

Accessibility & contrast

On white

1.91
#CABF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#CABF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF2D
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF2D#FFFFFF#000000##000000
##CABF2D1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B801
Deuteranopia (green-blind)
#D4BE39
Tritanopia (blue-blind)
#D9B2A4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf2d;
/* rgb */ color: rgb(202, 191, 45);
/* oklch */ color: oklch(79.0% 0.155 104.9);
Tailwind
colors: {
  custom: {
    50: '#ded173',
    500: '#cabf2d',
    950: '#000000',
  },
}
SCSS
$custom: #cabf2d;
$custom-light: #ded173;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf2d",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 55.796,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78976,
    "c": 0.15531,
    "h": 104.9
  },
  "luminance": 0.50008
}

Semantic roles & 50–950 ramp

primary
#CABF2D
secondary
#2B3070
accent
#4DE741
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CABF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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