#CAB554#CAB554

#CAB554 is a light, moderate yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.120 H 97.2°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#CAB554
RGBrgb(202, 181, 84)
HSLhsl(49, 53%, 56%)
HSVhsv(49, 58%, 79%)
CMYKcmyk(0%, 10.4%, 58.4%, 20.8%)
CIE-LABlab(73.71, -4.37, 51.20)
CIE-LCHlch(73.71, 51.39, 94.88°)
OKLaboklab(77.19% -0.0151 0.1187)
OKLCHoklch(77.19% 0.12 97.2)
XYZxyz(42.4829, 46.2463, 15.0745)
Luminance0.4624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB554 #5469CA
analogous
#CA7A54 #CAB554 #A4CA54
triadic
#CAB554 #54CAB5 #B554CA
tetradic
#CAB554 #54CA7A #5469CA #CA54A4
square
#CAB554 #54CA7A #5469CA #CA54A4
split-complementary
#CAB554 #54A4CA #7A54CA
monochromatic
#7D6E27 #AC9735 #CAB554 #D8C983 #E7DDB1

Accessibility & contrast

On white

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

On black

10.25
#CAB554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB554
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB554#FFFFFF#000000##000000
##CAB5541.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14A
Deuteranopia (green-blind)
#CBB859
Tritanopia (blue-blind)
#D8A9A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab554;
/* rgb */ color: rgb(202, 181, 84);
/* oklch */ color: oklch(77.2% 0.120 97.2);
Tailwind
colors: {
  custom: {
    50: '#ddca87',
    500: '#cab554',
    950: '#000000',
  },
}
SCSS
$custom: #cab554;
$custom-light: #ddca87;
$custom-dark: #000000;
JSON
{
  "hex": "#cab554",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 84
  },
  "hsl": {
    "h": 49.322,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77185,
    "c": 0.11967,
    "h": 97.2
  },
  "luminance": 0.46244
}

Semantic roles & 50–950 ramp

primary
#CAB554
secondary
#A5ADD5
accent
#65DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB554

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

Preview Lab → · Contrast checker → · Palette generator →

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