#CABF52#CABF52

#CABF52 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.3% C 0.130 H 103.6°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#CABF52
RGBrgb(202, 191, 82)
HSLhsl(55, 53%, 56%)
HSVhsv(55, 59%, 79%)
CMYKcmyk(0%, 5.4%, 59.4%, 20.8%)
CIE-LABlab(76.33, -9.70, 55.06)
CIE-LCHlch(76.33, 55.90, 99.99°)
OKLaboklab(79.26% -0.0306 0.1267)
OKLCHoklch(79.26% 0.13 103.6)
XYZxyz(44.5125, 50.4290, 15.3701)
Luminance0.5043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF52 #525DCA
analogous
#CA8352 #CABF52 #99CA52
triadic
#CABF52 #52CABF #BF52CA
tetradic
#CABF52 #52CA83 #525DCA #CA5299
square
#CABF52 #52CA83 #525DCA #CA5299
split-complementary
#CABF52 #5299CA #8352CA
monochromatic
#7C7426 #ABA034 #CABF52 #D8D081 #E7E2B0

Accessibility & contrast

On white

1.89
#CABF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#CABF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF52
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF52#FFFFFF#000000##000000
##CABF521.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cabf52;
/* rgb */ color: rgb(202, 191, 82);
/* oklch */ color: oklch(79.3% 0.130 103.6);
Tailwind
colors: {
  custom: {
    50: '#ddd287',
    500: '#cabf52',
    950: '#000000',
  },
}
SCSS
$custom: #cabf52;
$custom-light: #ddd287;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf52",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 54.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79263,
    "c": 0.13036,
    "h": 103.6
  },
  "luminance": 0.50427
}

Semantic roles & 50–950 ramp

primary
#CABF52
secondary
#3C4384
accent
#59DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CABF52

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

Preview Lab → · Contrast checker → · Palette generator →

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