#CABF3A#CABF3A

#CABF3A is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.1% C 0.148 H 104.5°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#CABF3A
RGBrgb(202, 191, 58)
HSLhsl(55, 58%, 51%)
HSVhsv(55, 71%, 79%)
CMYKcmyk(0%, 5.4%, 71.3%, 20.8%)
CIE-LABlab(76.15, -11.12, 64.68)
CIE-LCHlch(76.15, 65.63, 99.75°)
OKLaboklab(79.05% -0.0372 0.1434)
OKLCHoklch(79.05% 0.148 104.5)
XYZxyz(43.7535, 50.1254, 11.3726)
Luminance0.5012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF3A #3A45CA
analogous
#CA773A #CABF3A #8DCA3A
triadic
#CABF3A #3ACABF #BF3ACA
tetradic
#CABF3A #3ACA77 #3A45CA #CA3A8D
square
#CABF3A #3ACA77 #3A45CA #CA3A8D
split-complementary
#CABF3A #3A8DCA #773ACA
monochromatic
#6C661D #9D942A #CABF3A #D7CF6A #E4DE9A

Accessibility & contrast

On white

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

On black

11.02
#CABF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF3A
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF3A#FFFFFF#000000##000000
##CABF3A1.001.9011.0211.02
#FFFFFF1.901.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B823
Deuteranopia (green-blind)
#D4BE43
Tritanopia (blue-blind)
#D9B2A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf3a;
/* rgb */ color: rgb(202, 191, 58);
/* oklch */ color: oklch(79.1% 0.148 104.5);
Tailwind
colors: {
  custom: {
    50: '#ded279',
    500: '#cabf3a',
    950: '#000000',
  },
}
SCSS
$custom: #cabf3a;
$custom-light: #ded279;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf3a",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 58
  },
  "hsl": {
    "h": 55.417,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79055,
    "c": 0.1481,
    "h": 104.5
  },
  "luminance": 0.50124
}

Semantic roles & 50–950 ramp

primary
#CABF3A
secondary
#323776
accent
#53E147
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #CABF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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