#CABE56#CABE56

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

Color values

HEX#CABE56
RGBrgb(202, 190, 86)
HSLhsl(54, 52%, 56%)
HSVhsv(54, 57%, 79%)
CMYKcmyk(0%, 5.9%, 57.4%, 20.8%)
CIE-LABlab(76.10, -8.89, 52.99)
CIE-LCHlch(76.10, 53.73, 99.53°)
OKLaboklab(79.09% -0.0278 0.1228)
OKLCHoklch(79.09% 0.126 102.8)
XYZxyz(44.4518, 50.0570, 16.1227)
Luminance0.5006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE56 #5662CA
analogous
#CA8456 #CABE56 #9CCA56
triadic
#CABE56 #56CABE #BE56CA
tetradic
#CABE56 #56CA84 #5662CA #CA569C
square
#CABE56 #56CA84 #5662CA #CA569C
split-complementary
#CABE56 #569CCA #8456CA
monochromatic
#7E7528 #ADA036 #CABE56 #D9D085 #E7E2B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABE56#FFFFFF#000000##000000
##CABE561.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)
#CDB84B
Deuteranopia (green-blind)
#D1BE5B
Tritanopia (blue-blind)
#D8B2A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cabe56;
/* rgb */ color: rgb(202, 190, 86);
/* oklch */ color: oklch(79.1% 0.126 102.8);
Tailwind
colors: {
  custom: {
    50: '#ddd189',
    500: '#cabe56',
    950: '#000000',
  },
}
SCSS
$custom: #cabe56;
$custom-light: #ddd189;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe56",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 86
  },
  "hsl": {
    "h": 53.793,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79094,
    "c": 0.12592,
    "h": 102.8
  },
  "luminance": 0.50055
}

Semantic roles & 50–950 ramp

primary
#CABE56
secondary
#3E4686
accent
#5BDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CABE56

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

Preview Lab → · Contrast checker → · Palette generator →

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