#CAB539#CAB539

#CAB539 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.9% C 0.140 H 99.4°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#CAB539
RGBrgb(202, 181, 57)
HSLhsl(51, 58%, 51%)
HSVhsv(51, 72%, 79%)
CMYKcmyk(0%, 10.4%, 71.8%, 20.8%)
CIE-LABlab(73.48, -6.01, 62.45)
CIE-LCHlch(73.48, 62.74, 95.49°)
OKLaboklab(76.94% -0.0228 0.1385)
OKLCHoklch(76.94% 0.14 99.4)
XYZxyz(41.6215, 45.9017, 10.5377)
Luminance0.4590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB539 #394ECA
analogous
#CA6C39 #CAB539 #97CA39
triadic
#CAB539 #39CAB5 #B539CA
tetradic
#CAB539 #39CA6C #394ECA #CA3997
square
#CAB539 #39CA6C #394ECA #CA3997
split-complementary
#CAB539 #3997CA #6C39CA
monochromatic
#6C601D #9C8B2A #CAB539 #D7C769 #E4D99A

Accessibility & contrast

On white

2.06
#CAB539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#CAB539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB539
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB539#FFFFFF#000000##000000
##CAB5391.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B025
Deuteranopia (green-blind)
#CCB841
Tritanopia (blue-blind)
#DAA89C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab539;
/* rgb */ color: rgb(202, 181, 57);
/* oklch */ color: oklch(76.9% 0.140 99.4);
Tailwind
colors: {
  custom: {
    50: '#deca77',
    500: '#cab539',
    950: '#000000',
  },
}
SCSS
$custom: #cab539;
$custom-light: #deca77;
$custom-dark: #000000;
JSON
{
  "hex": "#cab539",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 57
  },
  "hsl": {
    "h": 51.31,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76937,
    "c": 0.14032,
    "h": 99.4
  },
  "luminance": 0.459
}

Semantic roles & 50–950 ramp

primary
#CAB539
secondary
#8F99D0
accent
#5DE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB539

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

Preview Lab → · Contrast checker → · Palette generator →

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