#CABF45#CABF45

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

Color values

HEX#CABF45
RGBrgb(202, 191, 69)
HSLhsl(55, 56%, 53%)
HSVhsv(55, 66%, 79%)
CMYKcmyk(0%, 5.4%, 65.8%, 20.8%)
CIE-LABlab(76.22, -10.53, 60.50)
CIE-LCHlch(76.22, 61.41, 99.88°)
OKLaboklab(79.14% -0.0344 0.1364)
OKLCHoklch(79.14% 0.141 104.2)
XYZxyz(44.0638, 50.2495, 13.0071)
Luminance0.5025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABF45 #4550CA
analogous
#CA7D45 #CABF45 #92CA45
triadic
#CABF45 #45CABF #BF45CA
tetradic
#CABF45 #45CA7D #4550CA #CA4592
square
#CABF45 #45CA7D #4550CA #CA4592
split-complementary
#CABF45 #4592CA #7D45CA
monochromatic
#746D21 #A39A2F #CABF45 #D8CF75 #E5E0A4

Accessibility & contrast

On white

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

On black

11.05
#CABF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABF45
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABF45#FFFFFF#000000##000000
##CABF451.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB935
Deuteranopia (green-blind)
#D3BF4C
Tritanopia (blue-blind)
#D9B2A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabf45;
/* rgb */ color: rgb(202, 191, 69);
/* oklch */ color: oklch(79.1% 0.141 104.2);
Tailwind
colors: {
  custom: {
    50: '#ddd27f',
    500: '#cabf45',
    950: '#000000',
  },
}
SCSS
$custom: #cabf45;
$custom-light: #ddd27f;
$custom-dark: #000000;
JSON
{
  "hex": "#cabf45",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 55.038,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7914,
    "c": 0.14066,
    "h": 104.2
  },
  "luminance": 0.50248
}

Semantic roles & 50–950 ramp

primary
#CABF45
secondary
#373C7D
accent
#55DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CABF45

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

Preview Lab → · Contrast checker → · Palette generator →

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