#CABF4F#CABF4F

#CABF4F is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.2% C 0.133 H 103.7°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#CABF4F
RGBrgb(202, 191, 79)
HSLhsl(55, 54%, 55%)
HSVhsv(55, 61%, 79%)
CMYKcmyk(0%, 5.4%, 60.9%, 20.8%)
CIE-LABlab(76.30, -9.90, 56.36)
CIE-LCHlch(76.30, 57.22, 99.97°)
OKLaboklab(79.23% -0.0315 0.1291)
OKLCHoklch(79.23% 0.133 103.7)
XYZxyz(44.4008, 50.3843, 14.7819)
Luminance0.5038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF4F #4F5ACA
analogous
#CA814F #CABF4F #98CA4F
triadic
#CABF4F #4FCABF #BF4FCA
tetradic
#CABF4F #4FCA81 #4F5ACA #CA4F98
square
#CABF4F #4FCA81 #4F5ACA #CA4F98
split-complementary
#CABF4F #4F98CA #814FCA
monochromatic
#7A7225 #A99E33 #CABF4F #D8D07E #E6E1AD

Accessibility & contrast

On white

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

On black

11.08
#CABF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF4F
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF4F#FFFFFF#000000##000000
##CABF4F1.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB942
Deuteranopia (green-blind)
#D2BF55
Tritanopia (blue-blind)
#D8B3A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf4f;
/* rgb */ color: rgb(202, 191, 79);
/* oklch */ color: oklch(79.2% 0.133 103.7);
Tailwind
colors: {
  custom: {
    50: '#ddd285',
    500: '#cabf4f',
    950: '#000000',
  },
}
SCSS
$custom: #cabf4f;
$custom-light: #ddd285;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf4f",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 54.634,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79232,
    "c": 0.13287,
    "h": 103.7
  },
  "luminance": 0.50383
}

Semantic roles & 50–950 ramp

primary
#CABF4F
secondary
#3B4182
accent
#58DD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #CABF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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