#CAB052#CAB052

#CAB052 is a light, moderate yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.118 H 94.0°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#CAB052
RGBrgb(202, 176, 82)
HSLhsl(47, 53%, 56%)
HSVhsv(47, 59%, 79%)
CMYKcmyk(0%, 12.9%, 59.4%, 20.8%)
CIE-LABlab(72.37, -1.89, 50.63)
CIE-LCHlch(72.37, 50.66, 92.13°)
OKLaboklab(76.13% -0.0081 0.1173)
OKLCHoklch(76.13% 0.118 94)
XYZxyz(41.4072, 44.2184, 14.3350)
Luminance0.4422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB052 #526CCA
analogous
#CA7452 #CAB052 #A8CA52
triadic
#CAB052 #52CAB0 #B052CA
tetradic
#CAB052 #52CA74 #526CCA #CA52A8
square
#CAB052 #52CA74 #526CCA #CA52A8
split-complementary
#CAB052 #52A8CA #7452CA
monochromatic
#7C6926 #AB9134 #CAB052 #D8C581 #E7DBB0

Accessibility & contrast

On white

2.13
#CAB052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#CAB052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB052
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB052#FFFFFF#000000##000000
##CAB0521.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD48
Deuteranopia (green-blind)
#C7B556
Tritanopia (blue-blind)
#D9A49B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab052;
/* rgb */ color: rgb(202, 176, 82);
/* oklch */ color: oklch(76.1% 0.118 94.0);
Tailwind
colors: {
  custom: {
    50: '#ddc786',
    500: '#cab052',
    950: '#000000',
  },
}
SCSS
$custom: #cab052;
$custom-light: #ddc786;
$custom-dark: #000000;
JSON
{
  "hex": "#cab052",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 47,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76126,
    "c": 0.11753,
    "h": 94
  },
  "luminance": 0.44216
}

Semantic roles & 50–950 ramp

primary
#CAB052
secondary
#A3AED5
accent
#6BDD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB052

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

Preview Lab → · Contrast checker → · Palette generator →

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