#CAB754#CAB754

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

Color values

HEX#CAB754
RGBrgb(202, 183, 84)
HSLhsl(50, 53%, 56%)
HSVhsv(50, 58%, 79%)
CMYKcmyk(0%, 9.4%, 58.4%, 20.8%)
CIE-LABlab(74.23, -5.41, 51.80)
CIE-LCHlch(74.23, 52.08, 95.97°)
OKLaboklab(77.6% -0.0181 0.12)
OKLCHoklch(77.6% 0.121 98.6)
XYZxyz(42.8925, 47.0654, 15.2110)
Luminance0.4706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB754 #5467CA
analogous
#CA7C54 #CAB754 #A2CA54
triadic
#CAB754 #54CAB7 #B754CA
tetradic
#CAB754 #54CA7C #5467CA #CA54A2
square
#CAB754 #54CA7C #5467CA #CA54A2
split-complementary
#CAB754 #54A2CA #7C54CA
monochromatic
#7D6F27 #AC9935 #CAB754 #D8CB83 #E7DEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB754#FFFFFF#000000##000000
##CAB7541.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)
#C7B34A
Deuteranopia (green-blind)
#CCB959
Tritanopia (blue-blind)
#D8ABA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab754;
/* rgb */ color: rgb(202, 183, 84);
/* oklch */ color: oklch(77.6% 0.121 98.6);
Tailwind
colors: {
  custom: {
    50: '#ddcc87',
    500: '#cab754',
    950: '#000000',
  },
}
SCSS
$custom: #cab754;
$custom-light: #ddcc87;
$custom-dark: #000000;
JSON
{
  "hex": "#cab754",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 50.339,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77602,
    "c": 0.12135,
    "h": 98.6
  },
  "luminance": 0.47064
}

Semantic roles & 50–950 ramp

primary
#CAB754
secondary
#A5ACD5
accent
#63DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB754

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

Preview Lab → · Contrast checker → · Palette generator →

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