#CAB652#CAB652

#CAB652 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.4% C 0.122 H 98.1°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#CAB652
RGBrgb(202, 182, 82)
HSLhsl(50, 53%, 56%)
HSVhsv(50, 59%, 79%)
CMYKcmyk(0%, 9.9%, 59.4%, 20.8%)
CIE-LABlab(73.95, -5.04, 52.40)
CIE-LCHlch(73.95, 52.64, 95.49°)
OKLaboklab(77.37% -0.0172 0.1211)
OKLCHoklch(77.37% 0.122 98.1)
XYZxyz(42.6097, 46.6235, 14.7358)
Luminance0.4662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB652 #5266CA
analogous
#CA7A52 #CAB652 #A2CA52
triadic
#CAB652 #52CAB6 #B652CA
tetradic
#CAB652 #52CA7A #5266CA #CA52A2
square
#CAB652 #52CA7A #5266CA #CA52A2
split-complementary
#CAB652 #52A2CA #7A52CA
monochromatic
#7C6D26 #AB9734 #CAB652 #D8CA81 #E7DEB0

Accessibility & contrast

On white

2.03
#CAB652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#CAB652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB652
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB652#FFFFFF#000000##000000
##CAB6521.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B248
Deuteranopia (green-blind)
#CBB957
Tritanopia (blue-blind)
#D9AAA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab652;
/* rgb */ color: rgb(202, 182, 82);
/* oklch */ color: oklch(77.4% 0.122 98.1);
Tailwind
colors: {
  custom: {
    50: '#ddcb86',
    500: '#cab652',
    950: '#000000',
  },
}
SCSS
$custom: #cab652;
$custom-light: #ddcb86;
$custom-dark: #000000;
JSON
{
  "hex": "#cab652",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 50,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77371,
    "c": 0.12227,
    "h": 98.1
  },
  "luminance": 0.46622
}

Semantic roles & 50–950 ramp

primary
#CAB652
secondary
#A3ABD5
accent
#63DD4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB652

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

Preview Lab → · Contrast checker → · Palette generator →

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