#CABF34#CABF34

#CABF34 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.0% C 0.152 H 104.7°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#CABF34
RGBrgb(202, 191, 52)
HSLhsl(56, 59%, 50%)
HSVhsv(56, 74%, 79%)
CMYKcmyk(0%, 5.4%, 74.3%, 20.8%)
CIE-LABlab(76.11, -11.39, 66.76)
CIE-LCHlch(76.11, 67.73, 99.68°)
OKLaboklab(79.02% -0.0385 0.1467)
OKLCHoklch(79.02% 0.152 104.7)
XYZxyz(43.6096, 50.0678, 10.6151)
Luminance0.5007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF34 #343FCA
analogous
#CA7434 #CABF34 #8ACA34
triadic
#CABF34 #34CABF #BF34CA
tetradic
#CABF34 #34CA74 #343FCA #CA348A
square
#CABF34 #34CA74 #343FCA #CA348A
split-complementary
#CABF34 #348ACA #7434CA
monochromatic
#69631B #999127 #CABF34 #D7CF64 #E4DE95

Accessibility & contrast

On white

1.91
#CABF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#CABF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF34
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF34#FFFFFF#000000##000000
##CABF341.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B817
Deuteranopia (green-blind)
#D4BE3E
Tritanopia (blue-blind)
#D9B2A4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf34;
/* rgb */ color: rgb(202, 191, 52);
/* oklch */ color: oklch(79.0% 0.152 104.7);
Tailwind
colors: {
  custom: {
    50: '#ded276',
    500: '#cabf34',
    950: '#000000',
  },
}
SCSS
$custom: #cabf34;
$custom-light: #ded276;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf34",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 52
  },
  "hsl": {
    "h": 55.6,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79016,
    "c": 0.15164,
    "h": 104.7
  },
  "luminance": 0.50066
}

Semantic roles & 50–950 ramp

primary
#CABF34
secondary
#303473
accent
#51E246
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CABF34

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

Preview Lab → · Contrast checker → · Palette generator →

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