#CAB04F#CAB04F

#CAB04F is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.120 H 94.4°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#CAB04F
RGBrgb(202, 176, 79)
HSLhsl(47, 54%, 55%)
HSVhsv(47, 61%, 79%)
CMYKcmyk(0%, 12.9%, 60.9%, 20.8%)
CIE-LABlab(72.34, -2.10, 51.99)
CIE-LCHlch(72.34, 52.03, 92.31°)
OKLaboklab(76.09% -0.0091 0.1198)
OKLCHoklch(76.09% 0.12 94.4)
XYZxyz(41.2955, 44.1738, 13.7468)
Luminance0.4417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB04F #4F69CA
analogous
#CA724F #CAB04F #A7CA4F
triadic
#CAB04F #4FCAB0 #B04FCA
tetradic
#CAB04F #4FCA72 #4F69CA #CA4FA7
square
#CAB04F #4FCA72 #4F69CA #CA4FA7
split-complementary
#CAB04F #4FA7CA #724FCA
monochromatic
#7A6825 #A99033 #CAB04F #D8C57E #E6DAAD

Accessibility & contrast

On white

2.14
#CAB04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#CAB04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB04F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB04F#FFFFFF#000000##000000
##CAB04F1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD45
Deuteranopia (green-blind)
#C7B553
Tritanopia (blue-blind)
#D9A49B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab04f;
/* rgb */ color: rgb(202, 176, 79);
/* oklch */ color: oklch(76.1% 0.120 94.4);
Tailwind
colors: {
  custom: {
    50: '#ddc784',
    500: '#cab04f',
    950: '#000000',
  },
}
SCSS
$custom: #cab04f;
$custom-light: #ddc784;
$custom-dark: #000000;
JSON
{
  "hex": "#cab04f",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 79
  },
  "hsl": {
    "h": 47.317,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76093,
    "c": 0.12012,
    "h": 94.4
  },
  "luminance": 0.44172
}

Semantic roles & 50–950 ramp

primary
#CAB04F
secondary
#A1ACD4
accent
#6ADD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB04F

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

Preview Lab → · Contrast checker → · Palette generator →

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