#CAB73F#CAB73F

#CAB73F is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.4% C 0.138 H 100.1°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#CAB73F
RGBrgb(202, 183, 63)
HSLhsl(52, 57%, 52%)
HSVhsv(52, 69%, 79%)
CMYKcmyk(0%, 9.4%, 68.8%, 20.8%)
CIE-LABlab(74.05, -6.74, 60.70)
CIE-LCHlch(74.05, 61.07, 96.34°)
OKLaboklab(77.4% -0.0243 0.1358)
OKLCHoklch(77.4% 0.138 100.1)
XYZxyz(42.1897, 46.7843, 11.5096)
Luminance0.4678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB73F #3F52CA
analogous
#CA723F #CAB73F #97CA3F
triadic
#CAB73F #3FCAB7 #B73FCA
tetradic
#CAB73F #3FCA72 #3F52CA #CA3F97
square
#CAB73F #3FCA72 #3F52CA #CA3F97
split-complementary
#CAB73F #3F97CA #723FCA
monochromatic
#70651F #A0902C #CAB73F #D7C96F #E4DB9F

Accessibility & contrast

On white

2.03
#CAB73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#CAB73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB73F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB73F#FFFFFF#000000##000000
##CAB73F1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22E
Deuteranopia (green-blind)
#CDB946
Tritanopia (blue-blind)
#D9AA9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab73f;
/* rgb */ color: rgb(202, 183, 63);
/* oklch */ color: oklch(77.4% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#decc7b',
    500: '#cab73f',
    950: '#000000',
  },
}
SCSS
$custom: #cab73f;
$custom-light: #decc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cab73f",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 63
  },
  "hsl": {
    "h": 51.799,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77402,
    "c": 0.13796,
    "h": 100.1
  },
  "luminance": 0.46782
}

Semantic roles & 50–950 ramp

primary
#CAB73F
secondary
#949CD1
accent
#5DE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB73F

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

Preview Lab → · Contrast checker → · Palette generator →

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