#CAB439#CAB439

#CAB439 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.7% C 0.140 H 98.8°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CAB439
RGBrgb(202, 180, 57)
HSLhsl(51, 58%, 51%)
HSVhsv(51, 72%, 79%)
CMYKcmyk(0%, 10.9%, 71.8%, 20.8%)
CIE-LABlab(73.22, -5.49, 62.20)
CIE-LCHlch(73.22, 62.44, 95.04°)
OKLaboklab(76.73% -0.0214 0.1379)
OKLCHoklch(76.73% 0.14 98.8)
XYZxyz(41.4189, 45.4965, 10.4701)
Luminance0.4549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB439 #394FCA
analogous
#CA6C39 #CAB439 #97CA39
triadic
#CAB439 #39CAB4 #B439CA
tetradic
#CAB439 #39CA6C #394FCA #CA3997
square
#CAB439 #39CA6C #394FCA #CA3997
split-complementary
#CAB439 #3997CA #6C39CA
monochromatic
#6C601D #9C8B2A #CAB439 #D7C669 #E4D99A

Accessibility & contrast

On white

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

On black

10.10
#CAB439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB439
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB439#FFFFFF#000000##000000
##CAB4391.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF25
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#DAA79C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab439;
/* rgb */ color: rgb(202, 180, 57);
/* oklch */ color: oklch(76.7% 0.140 98.8);
Tailwind
colors: {
  custom: {
    50: '#deca77',
    500: '#cab439',
    950: '#000000',
  },
}
SCSS
$custom: #cab439;
$custom-light: #deca77;
$custom-dark: #000000;
JSON
{
  "hex": "#cab439",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 57
  },
  "hsl": {
    "h": 50.897,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76727,
    "c": 0.13955,
    "h": 98.8
  },
  "luminance": 0.45494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB439

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

Preview Lab → · Contrast checker → · Palette generator →

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