#CABF48#CABF48

#CABF48 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#CABF48
RGBrgb(202, 191, 72)
HSLhsl(55, 55%, 54%)
HSVhsv(55, 64%, 79%)
CMYKcmyk(0%, 5.4%, 64.4%, 20.8%)
CIE-LABlab(76.25, -10.35, 59.29)
CIE-LCHlch(76.25, 60.19, 99.91°)
OKLaboklab(79.17% -0.0336 0.1343)
OKLCHoklch(79.17% 0.138 104)
XYZxyz(44.1593, 50.2877, 13.5100)
Luminance0.5029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF48 #4853CA
analogous
#CA7E48 #CABF48 #94CA48
triadic
#CABF48 #48CABF #BF48CA
tetradic
#CABF48 #48CA7E #4853CA #CA4894
square
#CABF48 #48CA7E #4853CA #CA4894
split-complementary
#CABF48 #4894CA #7E48CA
monochromatic
#766E22 #A59B30 #CABF48 #D8D077 #E5E0A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABF48#FFFFFF#000000##000000
##CABF481.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)
#CFB939
Deuteranopia (green-blind)
#D3BF4F
Tritanopia (blue-blind)
#D8B3A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf48;
/* rgb */ color: rgb(202, 191, 72);
/* oklch */ color: oklch(79.2% 0.138 104.0);
Tailwind
colors: {
  custom: {
    50: '#ddd281',
    500: '#cabf48',
    950: '#000000',
  },
}
SCSS
$custom: #cabf48;
$custom-light: #ddd281;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf48",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 54.923,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79166,
    "c": 0.13842,
    "h": 104
  },
  "luminance": 0.50286
}

Semantic roles & 50–950 ramp

primary
#CABF48
secondary
#383E7E
accent
#56DE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CABF48

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

Preview Lab → · Contrast checker → · Palette generator →

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