#CAB13E#CAB13E

#CAB13E is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.1% C 0.134 H 96.7°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#CAB13E
RGBrgb(202, 177, 62)
HSLhsl(49, 57%, 52%)
HSVhsv(49, 69%, 79%)
CMYKcmyk(0%, 12.4%, 69.3%, 20.8%)
CIE-LABlab(72.46, -3.66, 59.49)
CIE-LCHlch(72.46, 59.60, 93.52°)
OKLaboklab(76.14% -0.0156 0.1331)
OKLCHoklch(76.14% 0.134 96.7)
XYZxyz(40.9507, 44.3507, 10.9600)
Luminance0.4435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB13E #3E57CA
analogous
#CA6B3E #CAB13E #9DCA3E
triadic
#CAB13E #3ECAB1 #B13ECA
tetradic
#CAB13E #3ECA6B #3E57CA #CA3E9D
square
#CAB13E #3ECA6B #3E57CA #CA3E9D
split-complementary
#CAB13E #3E9DCA #6B3ECA
monochromatic
#6F611F #9F8A2C #CAB13E #D7C46E #E4D89E

Accessibility & contrast

On white

2.13
#CAB13E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#CAB13E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB13E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB13E#FFFFFF#000000##000000
##CAB13E1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2E
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#DAA49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab13e;
/* rgb */ color: rgb(202, 177, 62);
/* oklch */ color: oklch(76.1% 0.134 96.7);
Tailwind
colors: {
  custom: {
    50: '#dec87a',
    500: '#cab13e',
    950: '#000000',
  },
}
SCSS
$custom: #cab13e;
$custom-light: #dec87a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab13e",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 62
  },
  "hsl": {
    "h": 49.286,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7614,
    "c": 0.13398,
    "h": 96.7
  },
  "luminance": 0.44349
}

Semantic roles & 50–950 ramp

primary
#CAB13E
secondary
#939ED1
accent
#63E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB13E

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

Preview Lab → · Contrast checker → · Palette generator →

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