#CABF4B#CABF4B

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

Color values

HEX#CABF4B
RGBrgb(202, 191, 75)
HSLhsl(55, 55%, 54%)
HSVhsv(55, 63%, 79%)
CMYKcmyk(0%, 5.4%, 62.9%, 20.8%)
CIE-LABlab(76.27, -10.17, 58.05)
CIE-LCHlch(76.27, 58.93, 99.93°)
OKLaboklab(79.19% -0.0327 0.1321)
OKLCHoklch(79.19% 0.136 103.9)
XYZxyz(44.2596, 50.3278, 14.0381)
Luminance0.5033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF4B #4B56CA
analogous
#CA804B #CABF4B #96CA4B
triadic
#CABF4B #4BCABF #BF4BCA
tetradic
#CABF4B #4BCA80 #4B56CA #CA4B96
square
#CABF4B #4BCA80 #4B56CA #CA4B96
split-complementary
#CABF4B #4B96CA #804BCA
monochromatic
#777023 #A79D31 #CABF4B #D8D07A #E6E1AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABF4B#FFFFFF#000000##000000
##CABF4B1.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)
#CFB93D
Deuteranopia (green-blind)
#D3BF52
Tritanopia (blue-blind)
#D8B3A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf4b;
/* rgb */ color: rgb(202, 191, 75);
/* oklch */ color: oklch(79.2% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#ddd282',
    500: '#cabf4b',
    950: '#000000',
  },
}
SCSS
$custom: #cabf4b;
$custom-light: #ddd282;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf4b",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 75
  },
  "hsl": {
    "h": 54.803,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79194,
    "c": 0.13609,
    "h": 103.9
  },
  "luminance": 0.50326
}

Semantic roles & 50–950 ramp

primary
#CABF4B
secondary
#393F80
accent
#57DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CABF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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