#CAB045#CAB045

#CAB045 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.128 H 95.5°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CAB045
RGBrgb(202, 176, 69)
HSLhsl(48, 56%, 53%)
HSVhsv(48, 66%, 79%)
CMYKcmyk(0%, 12.9%, 65.8%, 20.8%)
CIE-LABlab(72.25, -2.74, 56.35)
CIE-LCHlch(72.25, 56.42, 92.79°)
OKLaboklab(75.99% -0.0122 0.1276)
OKLCHoklch(75.99% 0.128 95.5)
XYZxyz(40.9586, 44.0390, 11.9720)
Luminance0.4404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB045 #455FCA
analogous
#CA6D45 #CAB045 #A1CA45
triadic
#CAB045 #45CAB0 #B045CA
tetradic
#CAB045 #45CA6D #455FCA #CA45A1
square
#CAB045 #45CA6D #455FCA #CA45A1
split-complementary
#CAB045 #45A1CA #6D45CA
monochromatic
#746321 #A38C2F #CAB045 #D8C475 #E5D8A4

Accessibility & contrast

On white

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

On black

9.81
#CAB045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB045
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB045#FFFFFF#000000##000000
##CAB0451.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#DAA39A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab045;
/* rgb */ color: rgb(202, 176, 69);
/* oklch */ color: oklch(76.0% 0.128 95.5);
Tailwind
colors: {
  custom: {
    50: '#ddc77e',
    500: '#cab045',
    950: '#000000',
  },
}
SCSS
$custom: #cab045;
$custom-light: #ddc77e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab045",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 48.271,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75993,
    "c": 0.12818,
    "h": 95.5
  },
  "luminance": 0.44037
}

Semantic roles & 50–950 ramp

primary
#CAB045
secondary
#99A4D2
accent
#66DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB045

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

Preview Lab → · Contrast checker → · Palette generator →

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