#CABE3A#CABE3A

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

Color values

HEX#CABE3A
RGBrgb(202, 190, 58)
HSLhsl(55, 58%, 51%)
HSVhsv(55, 71%, 79%)
CMYKcmyk(0%, 5.9%, 71.3%, 20.8%)
CIE-LABlab(75.88, -10.60, 64.42)
CIE-LCHlch(75.88, 65.29, 99.35°)
OKLaboklab(78.84% -0.0357 0.1428)
OKLCHoklch(78.84% 0.147 104.1)
XYZxyz(43.5361, 49.6907, 11.3002)
Luminance0.4969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABE3A #3A46CA
analogous
#CA763A #CABE3A #8ECA3A
triadic
#CABE3A #3ACABE #BE3ACA
tetradic
#CABE3A #3ACA76 #3A46CA #CA3A8E
square
#CABE3A #3ACA76 #3A46CA #CA3A8E
split-complementary
#CABE3A #3A8ECA #763ACA
monochromatic
#6C661D #9D932A #CABE3A #D7CE6A #E4DE9A

Accessibility & contrast

On white

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

On black

10.94
#CABE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABE3A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABE3A#FFFFFF#000000##000000
##CABE3A1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cabe3a;
/* rgb */ color: rgb(202, 190, 58);
/* oklch */ color: oklch(78.8% 0.147 104.1);
Tailwind
colors: {
  custom: {
    50: '#ded179',
    500: '#cabe3a',
    950: '#000000',
  },
}
SCSS
$custom: #cabe3a;
$custom-light: #ded179;
$custom-dark: #000000;
JSON
{
  "hex": "#cabe3a",
  "rgb": {
    "r": 202,
    "g": 190,
    "b": 58
  },
  "hsl": {
    "h": 55,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78843,
    "c": 0.14721,
    "h": 104.1
  },
  "luminance": 0.49689
}

Semantic roles & 50–950 ramp

primary
#CABE3A
secondary
#9095D0
accent
#54E147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16140A
muted
#84827C

Preview Lab

Preview with #CABE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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