#CABF4A#CABF4A

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

Color values

HEX#CABF4A
RGBrgb(202, 191, 74)
HSLhsl(55, 55%, 54%)
HSVhsv(55, 63%, 79%)
CMYKcmyk(0%, 5.4%, 63.4%, 20.8%)
CIE-LABlab(76.26, -10.23, 58.47)
CIE-LCHlch(76.26, 59.35, 99.93°)
OKLaboklab(79.18% -0.033 0.1329)
OKLCHoklch(79.18% 0.137 103.9)
XYZxyz(44.2256, 50.3142, 13.8593)
Luminance0.5031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF4A #4A55CA
analogous
#CA7F4A #CABF4A #95CA4A
triadic
#CABF4A #4ACABF #BF4ACA
tetradic
#CABF4A #4ACA7F #4A55CA #CA4A95
square
#CABF4A #4ACA7F #4A55CA #CA4A95
split-complementary
#CABF4A #4A95CA #7F4ACA
monochromatic
#777023 #A69C31 #CABF4A #D8D079 #E6E0A9

Accessibility & contrast

On white

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

On black

11.06
#CABF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF4A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF4A#FFFFFF#000000##000000
##CABF4A1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB93C
Deuteranopia (green-blind)
#D3BF51
Tritanopia (blue-blind)
#D8B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf4a;
/* rgb */ color: rgb(202, 191, 74);
/* oklch */ color: oklch(79.2% 0.137 103.9);
Tailwind
colors: {
  custom: {
    50: '#ddd282',
    500: '#cabf4a',
    950: '#000000',
  },
}
SCSS
$custom: #cabf4a;
$custom-light: #ddd282;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf4a",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 74
  },
  "hsl": {
    "h": 54.844,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79184,
    "c": 0.13688,
    "h": 103.9
  },
  "luminance": 0.50313
}

Semantic roles & 50–950 ramp

primary
#CABF4A
secondary
#393F7F
accent
#56DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CABF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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