#CAB73E#CAB73E

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

Color values

HEX#CAB73E
RGBrgb(202, 183, 62)
HSLhsl(52, 57%, 52%)
HSVhsv(52, 69%, 79%)
CMYKcmyk(0%, 9.4%, 69.3%, 20.8%)
CIE-LABlab(74.04, -6.80, 61.09)
CIE-LCHlch(74.04, 61.46, 96.35°)
OKLaboklab(77.39% -0.0245 0.1364)
OKLCHoklch(77.39% 0.139 100.2)
XYZxyz(42.1620, 46.7733, 11.3638)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB73E #3E51CA
analogous
#CA713E #CAB73E #97CA3E
triadic
#CAB73E #3ECAB7 #B73ECA
tetradic
#CAB73E #3ECA71 #3E51CA #CA3E97
square
#CAB73E #3ECA71 #3E51CA #CA3E97
split-complementary
#CAB73E #3E97CA #713ECA
monochromatic
#6F641F #9F8F2C #CAB73E #D7C96E #E4DB9E

Accessibility & contrast

On white

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

On black

10.35
#CAB73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB73E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB73E#FFFFFF#000000##000000
##CAB73E1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab73e;
/* rgb */ color: rgb(202, 183, 62);
/* oklch */ color: oklch(77.4% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#decc7a',
    500: '#cab73e',
    950: '#000000',
  },
}
SCSS
$custom: #cab73e;
$custom-light: #decc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab73e",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 62
  },
  "hsl": {
    "h": 51.857,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.77394,
    "c": 0.13864,
    "h": 100.2
  },
  "luminance": 0.46771
}

Semantic roles & 50–950 ramp

primary
#CAB73E
secondary
#939CD1
accent
#5CE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB73E

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

Preview Lab → · Contrast checker → · Palette generator →

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