#CABF4D#CABF4D

#CABF4D is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.2% C 0.135 H 103.8°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#CABF4D
RGBrgb(202, 191, 77)
HSLhsl(55, 54%, 55%)
HSVhsv(55, 62%, 79%)
CMYKcmyk(0%, 5.4%, 61.9%, 20.8%)
CIE-LABlab(76.29, -10.04, 57.21)
CIE-LCHlch(76.29, 58.08, 99.95°)
OKLaboklab(79.21% -0.0321 0.1306)
OKLCHoklch(79.21% 0.135 103.8)
XYZxyz(44.3291, 50.3556, 14.4043)
Luminance0.5035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF4D #4D58CA
analogous
#CA814D #CABF4D #97CA4D
triadic
#CABF4D #4DCABF #BF4DCA
tetradic
#CABF4D #4DCA81 #4D58CA #CA4D97
square
#CABF4D #4DCA81 #4D58CA #CA4D97
split-complementary
#CABF4D #4D97CA #814DCA
monochromatic
#797124 #A89D32 #CABF4D #D8D07C #E6E1AB

Accessibility & contrast

On white

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

On black

11.07
#CABF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF4D
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF4D#FFFFFF#000000##000000
##CABF4D1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB940
Deuteranopia (green-blind)
#D3BF53
Tritanopia (blue-blind)
#D8B3A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf4d;
/* rgb */ color: rgb(202, 191, 77);
/* oklch */ color: oklch(79.2% 0.135 103.8);
Tailwind
colors: {
  custom: {
    50: '#ddd284',
    500: '#cabf4d',
    950: '#000000',
  },
}
SCSS
$custom: #cabf4d;
$custom-light: #ddd284;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf4d",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 77
  },
  "hsl": {
    "h": 54.72,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79213,
    "c": 0.1345,
    "h": 103.8
  },
  "luminance": 0.50354
}

Semantic roles & 50–950 ramp

primary
#CABF4D
secondary
#3A4081
accent
#57DD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CABF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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