#CABF47#CABF47

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

Color values

HEX#CABF47
RGBrgb(202, 191, 71)
HSLhsl(55, 55%, 54%)
HSVhsv(55, 65%, 79%)
CMYKcmyk(0%, 5.4%, 64.9%, 20.8%)
CIE-LABlab(76.24, -10.41, 59.70)
CIE-LCHlch(76.24, 60.60, 99.90°)
OKLaboklab(79.16% -0.0338 0.135)
OKLCHoklch(79.16% 0.139 104.1)
XYZxyz(44.1269, 50.2748, 13.3396)
Luminance0.5027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF47 #4752CA
analogous
#CA7D47 #CABF47 #93CA47
triadic
#CABF47 #47CABF #BF47CA
tetradic
#CABF47 #47CA7D #4752CA #CA4793
square
#CABF47 #47CA7D #4752CA #CA4793
split-complementary
#CABF47 #4793CA #7D47CA
monochromatic
#756E22 #A49B2F #CABF47 #D8D077 #E5E0A6

Accessibility & contrast

On white

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

On black

11.05
#CABF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF47
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF47#FFFFFF#000000##000000
##CABF471.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB938
Deuteranopia (green-blind)
#D3BF4E
Tritanopia (blue-blind)
#D9B2A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf47;
/* rgb */ color: rgb(202, 191, 71);
/* oklch */ color: oklch(79.2% 0.139 104.1);
Tailwind
colors: {
  custom: {
    50: '#ddd280',
    500: '#cabf47',
    950: '#000000',
  },
}
SCSS
$custom: #cabf47;
$custom-light: #ddd280;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf47",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 71
  },
  "hsl": {
    "h": 54.962,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79157,
    "c": 0.13918,
    "h": 104.1
  },
  "luminance": 0.50273
}

Semantic roles & 50–950 ramp

primary
#CABF47
secondary
#383D7E
accent
#56DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CABF47

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

Preview Lab → · Contrast checker → · Palette generator →

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