#CABF39#CABF39

#CABF39 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.0% C 0.149 H 104.6°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#CABF39
RGBrgb(202, 191, 57)
HSLhsl(55, 58%, 51%)
HSVhsv(55, 72%, 79%)
CMYKcmyk(0%, 5.4%, 71.8%, 20.8%)
CIE-LABlab(76.14, -11.16, 65.04)
CIE-LCHlch(76.14, 65.99, 99.74°)
OKLaboklab(79.05% -0.0374 0.1439)
OKLCHoklch(79.05% 0.149 104.6)
XYZxyz(43.7283, 50.1153, 11.2399)
Luminance0.5011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF39 #3944CA
analogous
#CA7639 #CABF39 #8CCA39
triadic
#CABF39 #39CABF #BF39CA
tetradic
#CABF39 #39CA76 #3944CA #CA398C
square
#CABF39 #39CA76 #3944CA #CA398C
split-complementary
#CABF39 #398CCA #7639CA
monochromatic
#6C661D #9C932A #CABF39 #D7CF69 #E4DE9A

Accessibility & contrast

On white

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

On black

11.02
#CABF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF39
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF39#FFFFFF#000000##000000
##CABF391.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B822
Deuteranopia (green-blind)
#D4BE42
Tritanopia (blue-blind)
#D9B2A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf39;
/* rgb */ color: rgb(202, 191, 57);
/* oklch */ color: oklch(79.0% 0.149 104.6);
Tailwind
colors: {
  custom: {
    50: '#ded278',
    500: '#cabf39',
    950: '#000000',
  },
}
SCSS
$custom: #cabf39;
$custom-light: #ded278;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf39",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 57
  },
  "hsl": {
    "h": 55.448,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79049,
    "c": 0.14871,
    "h": 104.6
  },
  "luminance": 0.50114
}

Semantic roles & 50–950 ramp

primary
#CABF39
secondary
#323775
accent
#52E147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #CABF39

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

Preview Lab → · Contrast checker → · Palette generator →

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