#CAB13F#CAB13F

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

Color values

HEX#CAB13F
RGBrgb(202, 177, 63)
HSLhsl(49, 57%, 52%)
HSVhsv(49, 69%, 79%)
CMYKcmyk(0%, 12.4%, 68.8%, 20.8%)
CIE-LABlab(72.47, -3.61, 59.09)
CIE-LCHlch(72.47, 59.20, 93.50°)
OKLaboklab(76.15% -0.0154 0.1324)
OKLCHoklch(76.15% 0.133 96.6)
XYZxyz(40.9784, 44.3618, 11.1059)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB13F #3F58CA
analogous
#CA6C3F #CAB13F #9DCA3F
triadic
#CAB13F #3FCAB1 #B13FCA
tetradic
#CAB13F #3FCA6C #3F58CA #CA3F9D
square
#CAB13F #3FCA6C #3F58CA #CA3F9D
split-complementary
#CAB13F #3F9DCA #6C3FCA
monochromatic
#70611F #A08B2C #CAB13F #D7C46F #E4D89F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB13F#FFFFFF#000000##000000
##CAB13F1.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)
#C2AD2F
Deuteranopia (green-blind)
#C9B545
Tritanopia (blue-blind)
#DAA49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab13f;
/* rgb */ color: rgb(202, 177, 63);
/* oklch */ color: oklch(76.1% 0.133 96.6);
Tailwind
colors: {
  custom: {
    50: '#dec87a',
    500: '#cab13f',
    950: '#000000',
  },
}
SCSS
$custom: #cab13f;
$custom-light: #dec87a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab13f",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 63
  },
  "hsl": {
    "h": 49.209,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76148,
    "c": 0.13329,
    "h": 96.6
  },
  "luminance": 0.4436
}

Semantic roles & 50–950 ramp

primary
#CAB13F
secondary
#949FD1
accent
#63E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB13F

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

Preview Lab → · Contrast checker → · Palette generator →

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