#CABF46#CABF46

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

Color values

HEX#CABF46
RGBrgb(202, 191, 70)
HSLhsl(55, 55%, 53%)
HSVhsv(55, 65%, 79%)
CMYKcmyk(0%, 5.4%, 65.3%, 20.8%)
CIE-LABlab(76.23, -10.47, 60.10)
CIE-LCHlch(76.23, 61.01, 99.89°)
OKLaboklab(79.15% -0.0341 0.1357)
OKLCHoklch(79.15% 0.14 104.1)
XYZxyz(44.0951, 50.2620, 13.1720)
Luminance0.5026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF46 #4651CA
analogous
#CA7D46 #CABF46 #93CA46
triadic
#CABF46 #46CABF #BF46CA
tetradic
#CABF46 #46CA7D #4651CA #CA4693
square
#CABF46 #46CA7D #4651CA #CA4693
split-complementary
#CABF46 #4693CA #7D46CA
monochromatic
#746D21 #A49A2F #CABF46 #D8CF76 #E5E0A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABF46#FFFFFF#000000##000000
##CABF461.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)
#CFB936
Deuteranopia (green-blind)
#D3BF4D
Tritanopia (blue-blind)
#D9B2A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf46;
/* rgb */ color: rgb(202, 191, 70);
/* oklch */ color: oklch(79.1% 0.140 104.1);
Tailwind
colors: {
  custom: {
    50: '#ddd27f',
    500: '#cabf46',
    950: '#000000',
  },
}
SCSS
$custom: #cabf46;
$custom-light: #ddd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf46",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 70
  },
  "hsl": {
    "h": 55,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79149,
    "c": 0.13992,
    "h": 104.1
  },
  "luminance": 0.5026
}

Semantic roles & 50–950 ramp

primary
#CABF46
secondary
#373D7D
accent
#56DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CABF46

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

Preview Lab → · Contrast checker → · Palette generator →

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