#CAB048#CAB048

#CAB048 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.0% C 0.126 H 95.2°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#CAB048
RGBrgb(202, 176, 72)
HSLhsl(48, 55%, 54%)
HSVhsv(48, 64%, 79%)
CMYKcmyk(0%, 12.9%, 64.4%, 20.8%)
CIE-LABlab(72.28, -2.56, 55.07)
CIE-LCHlch(72.28, 55.13, 92.66°)
OKLaboklab(76.02% -0.0113 0.1254)
OKLCHoklch(76.02% 0.126 95.2)
XYZxyz(41.0540, 44.0772, 12.4749)
Luminance0.4407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB048 #4862CA
analogous
#CA6F48 #CAB048 #A3CA48
triadic
#CAB048 #48CAB0 #B048CA
tetradic
#CAB048 #48CA6F #4862CA #CA48A3
square
#CAB048 #48CA6F #4862CA #CA48A3
split-complementary
#CAB048 #48A3CA #6F48CA
monochromatic
#766522 #A58E30 #CAB048 #D8C477 #E5D9A7

Accessibility & contrast

On white

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

On black

9.82
#CAB048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB048
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB048#FFFFFF#000000##000000
##CAB0481.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3C
Deuteranopia (green-blind)
#C8B54D
Tritanopia (blue-blind)
#D9A39A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab048;
/* rgb */ color: rgb(202, 176, 72);
/* oklch */ color: oklch(76.0% 0.126 95.2);
Tailwind
colors: {
  custom: {
    50: '#ddc780',
    500: '#cab048',
    950: '#000000',
  },
}
SCSS
$custom: #cab048;
$custom-light: #ddc780;
$custom-dark: #000000;
JSON
{
  "hex": "#cab048",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 48,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76021,
    "c": 0.12586,
    "h": 95.2
  },
  "luminance": 0.44075
}

Semantic roles & 50–950 ramp

primary
#CAB048
secondary
#9BA6D3
accent
#67DE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB048

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

Preview Lab → · Contrast checker → · Palette generator →

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