#CABE38#CABE38

#CABE38 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.8% C 0.148 H 104.1°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#CABE38
RGBrgb(202, 190, 56)
HSLhsl(55, 58%, 51%)
HSVhsv(55, 72%, 79%)
CMYKcmyk(0%, 5.9%, 72.3%, 20.8%)
CIE-LABlab(75.87, -10.70, 65.14)
CIE-LCHlch(75.87, 66.01, 99.33°)
OKLaboklab(78.83% -0.0362 0.144)
OKLCHoklch(78.83% 0.148 104.1)
XYZxyz(43.4862, 49.6707, 11.0374)
Luminance0.4967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE38 #3844CA
analogous
#CA7538 #CABE38 #8DCA38
triadic
#CABE38 #38CABE #BE38CA
tetradic
#CABE38 #38CA75 #3844CA #CA388D
square
#CABE38 #38CA75 #3844CA #CA388D
split-complementary
#CABE38 #388DCA #7538CA
monochromatic
#6B651D #9B9229 #CABE38 #D7CE68 #E4DE99

Accessibility & contrast

On white

1.92
#CABE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#CABE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE38
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE38#FFFFFF#000000##000000
##CABE381.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB820
Deuteranopia (green-blind)
#D3BE41
Tritanopia (blue-blind)
#D9B1A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabe38;
/* rgb */ color: rgb(202, 190, 56);
/* oklch */ color: oklch(78.8% 0.148 104.1);
Tailwind
colors: {
  custom: {
    50: '#ded178',
    500: '#cabe38',
    950: '#000000',
  },
}
SCSS
$custom: #cabe38;
$custom-light: #ded178;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe38",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 56
  },
  "hsl": {
    "h": 55.068,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78829,
    "c": 0.14843,
    "h": 104.1
  },
  "luminance": 0.49669
}

Semantic roles & 50–950 ramp

primary
#CABE38
secondary
#8E94CF
accent
#53E147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161409
muted
#84827B

Preview Lab

Preview with #CABE38

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

Preview Lab → · Contrast checker → · Palette generator →

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