#CABB3E#CABB3E

#CABB3E is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.2% C 0.142 H 102.4°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#CABB3E
RGBrgb(202, 187, 62)
HSLhsl(54, 57%, 52%)
HSVhsv(54, 69%, 79%)
CMYKcmyk(0%, 7.4%, 69.3%, 20.8%)
CIE-LABlab(75.11, -8.86, 62.15)
CIE-LCHlch(75.11, 62.78, 98.12°)
OKLaboklab(78.24% -0.0304 0.1387)
OKLCHoklch(78.24% 0.142 102.4)
XYZxyz(42.9988, 48.4468, 11.6427)
Luminance0.4844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB3E #3E4DCA
analogous
#CA753E #CABB3E #93CA3E
triadic
#CABB3E #3ECABB #BB3ECA
tetradic
#CABB3E #3ECA75 #3E4DCA #CA3E93
square
#CABB3E #3ECA75 #3E4DCA #CA3E93
split-complementary
#CABB3E #3E93CA #753ECA
monochromatic
#6F661F #9F932C #CABB3E #D7CC6E #E4DD9E

Accessibility & contrast

On white

1.96
#CABB3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#CABB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB3E
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB3E#FFFFFF#000000##000000
##CABB3E1.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52B
Deuteranopia (green-blind)
#D0BC46
Tritanopia (blue-blind)
#D9AEA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb3e;
/* rgb */ color: rgb(202, 187, 62);
/* oklch */ color: oklch(78.2% 0.142 102.4);
Tailwind
colors: {
  custom: {
    50: '#decf7b',
    500: '#cabb3e',
    950: '#000000',
  },
}
SCSS
$custom: #cabb3e;
$custom-light: #decf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb3e",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 62
  },
  "hsl": {
    "h": 53.571,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78237,
    "c": 0.142,
    "h": 102.4
  },
  "luminance": 0.48445
}

Semantic roles & 50–950 ramp

primary
#CABB3E
secondary
#939AD1
accent
#58E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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