#CAB752#CAB752

#CAB752 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.123 H 98.7°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#CAB752
RGBrgb(202, 183, 82)
HSLhsl(51, 53%, 56%)
HSVhsv(51, 59%, 79%)
CMYKcmyk(0%, 9.4%, 59.4%, 20.8%)
CIE-LABlab(74.21, -5.56, 52.70)
CIE-LCHlch(74.21, 52.99, 96.02°)
OKLaboklab(77.58% -0.0187 0.1217)
OKLCHoklch(77.58% 0.123 98.7)
XYZxyz(42.8153, 47.0346, 14.8043)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB752 #5265CA
analogous
#CA7B52 #CAB752 #A1CA52
triadic
#CAB752 #52CAB7 #B752CA
tetradic
#CAB752 #52CA7B #5265CA #CA52A1
square
#CAB752 #52CA7B #5265CA #CA52A1
split-complementary
#CAB752 #52A1CA #7B52CA
monochromatic
#7C6E26 #AB9834 #CAB752 #D8CA81 #E7DEB0

Accessibility & contrast

On white

2.02
#CAB752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#CAB752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB752
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB752#FFFFFF#000000##000000
##CAB7521.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B347
Deuteranopia (green-blind)
#CCB957
Tritanopia (blue-blind)
#D8ABA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab752;
/* rgb */ color: rgb(202, 183, 82);
/* oklch */ color: oklch(77.6% 0.123 98.7);
Tailwind
colors: {
  custom: {
    50: '#ddcc86',
    500: '#cab752',
    950: '#000000',
  },
}
SCSS
$custom: #cab752;
$custom-light: #ddcc86;
$custom-dark: #000000;
JSON
{
  "hex": "#cab752",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 50.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.7758,
    "c": 0.12311,
    "h": 98.7
  },
  "luminance": 0.47033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB752

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

Preview Lab → · Contrast checker → · Palette generator →

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