#CAB440#CAB440

#CAB440 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.8% C 0.135 H 98.3°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#CAB440
RGBrgb(202, 180, 64)
HSLhsl(50, 57%, 52%)
HSVhsv(50, 68%, 79%)
CMYKcmyk(0%, 10.9%, 68.3%, 20.8%)
CIE-LABlab(73.27, -5.13, 59.49)
CIE-LCHlch(73.27, 59.72, 94.92°)
OKLaboklab(76.78% -0.0196 0.1334)
OKLCHoklch(76.78% 0.135 98.3)
XYZxyz(41.6057, 45.5712, 11.4541)
Luminance0.4557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB440 #4056CA
analogous
#CA6F40 #CAB440 #9BCA40
triadic
#CAB440 #40CAB4 #B440CA
tetradic
#CAB440 #40CA6F #4056CA #CA409B
square
#CAB440 #40CA6F #4056CA #CA409B
split-complementary
#CAB440 #409BCA #6F40CA
monochromatic
#70631F #A08E2C #CAB440 #D7C770 #E5DAA0

Accessibility & contrast

On white

2.08
#CAB440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#CAB440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB440
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB440#FFFFFF#000000##000000
##CAB4401.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B030
Deuteranopia (green-blind)
#CBB747
Tritanopia (blue-blind)
#D9A79C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab440;
/* rgb */ color: rgb(202, 180, 64);
/* oklch */ color: oklch(76.8% 0.135 98.3);
Tailwind
colors: {
  custom: {
    50: '#deca7b',
    500: '#cab440',
    950: '#000000',
  },
}
SCSS
$custom: #cab440;
$custom-light: #deca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cab440",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 64
  },
  "hsl": {
    "h": 50.435,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76782,
    "c": 0.13486,
    "h": 98.3
  },
  "luminance": 0.45569
}

Semantic roles & 50–950 ramp

primary
#CAB440
secondary
#959ED1
accent
#60E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB440

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

Preview Lab → · Contrast checker → · Palette generator →

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