#CABF49#CABF49

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

Color values

HEX#CABF49
RGBrgb(202, 191, 73)
HSLhsl(55, 55%, 54%)
HSVhsv(55, 64%, 79%)
CMYKcmyk(0%, 5.4%, 63.9%, 20.8%)
CIE-LABlab(76.25, -10.29, 58.88)
CIE-LCHlch(76.25, 59.77, 99.92°)
OKLaboklab(79.18% -0.0333 0.1336)
OKLCHoklch(79.18% 0.138 104)
XYZxyz(44.1922, 50.3008, 13.6832)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF49 #4954CA
analogous
#CA7F49 #CABF49 #95CA49
triadic
#CABF49 #49CABF #BF49CA
tetradic
#CABF49 #49CA7F #4954CA #CA4995
square
#CABF49 #49CA7F #4954CA #CA4995
split-complementary
#CABF49 #4995CA #7F49CA
monochromatic
#766F22 #A69C30 #CABF49 #D8D078 #E6E0A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABF49#FFFFFF#000000##000000
##CABF491.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)
#CFB93A
Deuteranopia (green-blind)
#D3BF50
Tritanopia (blue-blind)
#D8B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf49;
/* rgb */ color: rgb(202, 191, 73);
/* oklch */ color: oklch(79.2% 0.138 104.0);
Tailwind
colors: {
  custom: {
    50: '#ddd281',
    500: '#cabf49',
    950: '#000000',
  },
}
SCSS
$custom: #cabf49;
$custom-light: #ddd281;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf49",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 73
  },
  "hsl": {
    "h": 54.884,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79175,
    "c": 0.13765,
    "h": 104
  },
  "luminance": 0.50299
}

Semantic roles & 50–950 ramp

primary
#CABF49
secondary
#383E7F
accent
#56DE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CABF49

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

Preview Lab → · Contrast checker → · Palette generator →

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