#CAB13B#CAB13B

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

Color values

HEX#CAB13B
RGBrgb(202, 177, 59)
HSLhsl(50, 57%, 51%)
HSVhsv(50, 71%, 79%)
CMYKcmyk(0%, 12.4%, 70.8%, 20.8%)
CIE-LABlab(72.44, -3.82, 60.66)
CIE-LCHlch(72.44, 60.78, 93.60°)
OKLaboklab(76.12% -0.0164 0.135)
OKLCHoklch(76.12% 0.136 96.9)
XYZxyz(40.8707, 44.3187, 10.5384)
Luminance0.4432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB13B #3B54CA
analogous
#CA693B #CAB13B #9CCA3B
triadic
#CAB13B #3BCAB1 #B13BCA
tetradic
#CAB13B #3BCA69 #3B54CA #CA3B9C
square
#CAB13B #3BCA69 #3B54CA #CA3B9C
split-complementary
#CAB13B #3B9CCA #693BCA
monochromatic
#6D5F1E #9D892B #CAB13B #D7C46B #E4D79B

Accessibility & contrast

On white

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

On black

9.86
#CAB13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB13B
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB13B#FFFFFF#000000##000000
##CAB13B1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD29
Deuteranopia (green-blind)
#C9B542
Tritanopia (blue-blind)
#DAA499
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab13b;
/* rgb */ color: rgb(202, 177, 59);
/* oklch */ color: oklch(76.1% 0.136 96.9);
Tailwind
colors: {
  custom: {
    50: '#dec778',
    500: '#cab13b',
    950: '#000000',
  },
}
SCSS
$custom: #cab13b;
$custom-light: #dec778;
$custom-dark: #000000;
JSON
{
  "hex": "#cab13b",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 59
  },
  "hsl": {
    "h": 49.51,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76116,
    "c": 0.13601,
    "h": 96.9
  },
  "luminance": 0.44317
}

Semantic roles & 50–950 ramp

primary
#CAB13B
secondary
#919CD0
accent
#62E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB13B

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

Preview Lab → · Contrast checker → · Palette generator →

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