#CABF3E#CABF3E

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

Color values

HEX#CABF3E
RGBrgb(202, 191, 62)
HSLhsl(55, 57%, 52%)
HSVhsv(55, 69%, 79%)
CMYKcmyk(0%, 5.4%, 69.3%, 20.8%)
CIE-LABlab(76.17, -10.92, 63.22)
CIE-LCHlch(76.17, 64.15, 99.80°)
OKLaboklab(79.08% -0.0362 0.141)
OKLCHoklch(79.08% 0.146 104.4)
XYZxyz(43.8592, 50.1677, 11.9295)
Luminance0.5017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF3E #3E49CA
analogous
#CA793E #CABF3E #8FCA3E
triadic
#CABF3E #3ECABF #BF3ECA
tetradic
#CABF3E #3ECA79 #3E49CA #CA3E8F
square
#CABF3E #3ECA79 #3E49CA #CA3E8F
split-complementary
#CABF3E #3E8FCA #793ECA
monochromatic
#6F691F #9F962C #CABF3E #D7CF6E #E4DF9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABF3E#FFFFFF#000000##000000
##CABF3E1.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)
#D0B82A
Deuteranopia (green-blind)
#D3BF46
Tritanopia (blue-blind)
#D9B2A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf3e;
/* rgb */ color: rgb(202, 191, 62);
/* oklch */ color: oklch(79.1% 0.146 104.4);
Tailwind
colors: {
  custom: {
    50: '#ded27b',
    500: '#cabf3e',
    950: '#000000',
  },
}
SCSS
$custom: #cabf3e;
$custom-light: #ded27b;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf3e",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 62
  },
  "hsl": {
    "h": 55.286,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79084,
    "c": 0.14553,
    "h": 104.4
  },
  "luminance": 0.50166
}

Semantic roles & 50–950 ramp

primary
#CABF3E
secondary
#343978
accent
#54E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CABF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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