#CAB454#CAB454

#CAB454 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.119 H 96.6°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#CAB454
RGBrgb(202, 180, 84)
HSLhsl(49, 53%, 56%)
HSVhsv(49, 58%, 79%)
CMYKcmyk(0%, 10.9%, 58.4%, 20.8%)
CIE-LABlab(73.44, -3.84, 50.90)
CIE-LCHlch(73.44, 51.05, 94.32°)
OKLaboklab(76.98% -0.0136 0.1181)
OKLCHoklch(76.98% 0.119 96.6)
XYZxyz(42.2803, 45.8411, 15.0069)
Luminance0.4584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB454 #546ACA
analogous
#CA7954 #CAB454 #A5CA54
triadic
#CAB454 #54CAB4 #B454CA
tetradic
#CAB454 #54CA79 #546ACA #CA54A5
square
#CAB454 #54CA79 #546ACA #CA54A5
split-complementary
#CAB454 #54A5CA #7954CA
monochromatic
#7D6D27 #AC9635 #CAB454 #D8C883 #E7DDB1

Accessibility & contrast

On white

2.07
#CAB454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#CAB454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB454
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB454#FFFFFF#000000##000000
##CAB4541.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B04A
Deuteranopia (green-blind)
#CAB858
Tritanopia (blue-blind)
#D9A89F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab454;
/* rgb */ color: rgb(202, 180, 84);
/* oklch */ color: oklch(77.0% 0.119 96.6);
Tailwind
colors: {
  custom: {
    50: '#ddca87',
    500: '#cab454',
    950: '#000000',
  },
}
SCSS
$custom: #cab454;
$custom-light: #ddca87;
$custom-dark: #000000;
JSON
{
  "hex": "#cab454",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 84
  },
  "hsl": {
    "h": 48.814,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.76977,
    "c": 0.11886,
    "h": 96.6
  },
  "luminance": 0.45839
}

Semantic roles & 50–950 ramp

primary
#CAB454
secondary
#A5AED5
accent
#67DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CAB454

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

Preview Lab → · Contrast checker → · Palette generator →

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