#CAB552#CAB552

#CAB552 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.121 H 97.4°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CAB552
RGBrgb(202, 181, 82)
HSLhsl(50, 53%, 56%)
HSVhsv(50, 59%, 79%)
CMYKcmyk(0%, 10.4%, 59.4%, 20.8%)
CIE-LABlab(73.69, -4.51, 52.10)
CIE-LCHlch(73.69, 52.30, 94.95°)
OKLaboklab(77.16% -0.0157 0.1204)
OKLCHoklch(77.16% 0.121 97.4)
XYZxyz(42.4057, 46.2154, 14.6678)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB552 #5267CA
analogous
#CA7952 #CAB552 #A3CA52
triadic
#CAB552 #52CAB5 #B552CA
tetradic
#CAB552 #52CA79 #5267CA #CA52A3
square
#CAB552 #52CA79 #5267CA #CA52A3
split-complementary
#CAB552 #52A3CA #7952CA
monochromatic
#7C6D26 #AB9634 #CAB552 #D8C981 #E7DDB0

Accessibility & contrast

On white

2.05
#CAB552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#CAB552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB552
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB552#FFFFFF#000000##000000
##CAB5521.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B148
Deuteranopia (green-blind)
#CBB857
Tritanopia (blue-blind)
#D9A99F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab552;
/* rgb */ color: rgb(202, 181, 82);
/* oklch */ color: oklch(77.2% 0.121 97.4);
Tailwind
colors: {
  custom: {
    50: '#ddca86',
    500: '#cab552',
    950: '#000000',
  },
}
SCSS
$custom: #cab552;
$custom-light: #ddca86;
$custom-dark: #000000;
JSON
{
  "hex": "#cab552",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 49.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77163,
    "c": 0.12143,
    "h": 97.4
  },
  "luminance": 0.46213
}

Semantic roles & 50–950 ramp

primary
#CAB552
secondary
#A3ACD5
accent
#65DD4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB552

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

Preview Lab → · Contrast checker → · Palette generator →

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