#CABF3D#CABF3D

#CABF3D 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#CABF3D
RGBrgb(202, 191, 61)
HSLhsl(55, 57%, 52%)
HSVhsv(55, 70%, 79%)
CMYKcmyk(0%, 5.4%, 69.8%, 20.8%)
CIE-LABlab(76.17, -10.97, 63.59)
CIE-LCHlch(76.17, 64.53, 99.79°)
OKLaboklab(79.08% -0.0365 0.1416)
OKLCHoklch(79.08% 0.146 104.4)
XYZxyz(43.8320, 50.1568, 11.7863)
Luminance0.5016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF3D #3D48CA
analogous
#CA793D #CABF3D #8FCA3D
triadic
#CABF3D #3DCABF #BF3DCA
tetradic
#CABF3D #3DCA79 #3D48CA #CA3D8F
square
#CABF3D #3DCA79 #3D48CA #CA3D8F
split-complementary
#CABF3D #3D8FCA #793DCA
monochromatic
#6E681E #9F962B #CABF3D #D7CF6D #E4DF9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #cabf3d;
/* rgb */ color: rgb(202, 191, 61);
/* oklch */ color: oklch(79.1% 0.146 104.4);
Tailwind
colors: {
  custom: {
    50: '#ded27a',
    500: '#cabf3d',
    950: '#000000',
  },
}
SCSS
$custom: #cabf3d;
$custom-light: #ded27a;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf3d",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 61
  },
  "hsl": {
    "h": 55.319,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79077,
    "c": 0.14619,
    "h": 104.4
  },
  "luminance": 0.50155
}

Semantic roles & 50–950 ramp

primary
#CABF3D
secondary
#333978
accent
#53E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CABF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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