#CABF3B#CABF3B

#CABF3B is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.1% C 0.147 H 104.5°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#CABF3B
RGBrgb(202, 191, 59)
HSLhsl(55, 57%, 51%)
HSVhsv(55, 71%, 79%)
CMYKcmyk(0%, 5.4%, 70.8%, 20.8%)
CIE-LABlab(76.15, -11.07, 64.32)
CIE-LCHlch(76.15, 65.27, 99.76°)
OKLaboklab(79.06% -0.0369 0.1428)
OKLCHoklch(79.06% 0.147 104.5)
XYZxyz(43.7792, 50.1356, 11.5079)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF3B #3B46CA
analogous
#CA773B #CABF3B #8DCA3B
triadic
#CABF3B #3BCABF #BF3BCA
tetradic
#CABF3B #3BCA77 #3B46CA #CA3B8D
square
#CABF3B #3BCA77 #3B46CA #CA3B8D
split-complementary
#CABF3B #3B8DCA #773BCA
monochromatic
#6D671E #9D942B #CABF3B #D7CF6B #E4DE9B

Accessibility & contrast

On white

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

On black

11.03
#CABF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF3B
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF3B#FFFFFF#000000##000000
##CABF3B1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cabf3b;
/* rgb */ color: rgb(202, 191, 59);
/* oklch */ color: oklch(79.1% 0.147 104.5);
Tailwind
colors: {
  custom: {
    50: '#ded279',
    500: '#cabf3b',
    950: '#000000',
  },
}
SCSS
$custom: #cabf3b;
$custom-light: #ded279;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf3b",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 59
  },
  "hsl": {
    "h": 55.385,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79062,
    "c": 0.14747,
    "h": 104.5
  },
  "luminance": 0.50134
}

Semantic roles & 50–950 ramp

primary
#CABF3B
secondary
#333877
accent
#53E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CABF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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