#CAB154#CAB154

#CAB154 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.117 H 94.4°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#CAB154
RGBrgb(202, 177, 84)
HSLhsl(47, 53%, 56%)
HSVhsv(47, 58%, 79%)
CMYKcmyk(0%, 12.4%, 58.4%, 20.8%)
CIE-LABlab(72.66, -2.27, 50.01)
CIE-LCHlch(72.66, 50.06, 92.60°)
OKLaboklab(76.35% -0.009 0.1162)
OKLCHoklch(76.35% 0.117 94.4)
XYZxyz(41.6812, 44.6429, 14.8072)
Luminance0.4464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB154 #546DCA
analogous
#CA7654 #CAB154 #A8CA54
triadic
#CAB154 #54CAB1 #B154CA
tetradic
#CAB154 #54CA76 #546DCA #CA54A8
square
#CAB154 #54CA76 #546DCA #CA54A8
split-complementary
#CAB154 #54A8CA #7654CA
monochromatic
#7D6B27 #AC9335 #CAB154 #D8C683 #E7DCB1

Accessibility & contrast

On white

2.12
#CAB154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#CAB154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB154
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB154#FFFFFF#000000##000000
##CAB1541.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4B
Deuteranopia (green-blind)
#C8B658
Tritanopia (blue-blind)
#D9A59C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab154;
/* rgb */ color: rgb(202, 177, 84);
/* oklch */ color: oklch(76.4% 0.117 94.4);
Tailwind
colors: {
  custom: {
    50: '#ddc887',
    500: '#cab154',
    950: '#000000',
  },
}
SCSS
$custom: #cab154;
$custom-light: #ddc887;
$custom-dark: #000000;
JSON
{
  "hex": "#cab154",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 84
  },
  "hsl": {
    "h": 47.288,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.76355,
    "c": 0.11651,
    "h": 94.4
  },
  "luminance": 0.44641
}

Semantic roles & 50–950 ramp

primary
#CAB154
secondary
#A5AFD5
accent
#6ADC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB154

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

Preview Lab → · Contrast checker → · Palette generator →

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