#CAB654#CAB654

#CAB654 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.4% C 0.120 H 97.9°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#CAB654
RGBrgb(202, 182, 84)
HSLhsl(50, 53%, 56%)
HSVhsv(50, 58%, 79%)
CMYKcmyk(0%, 9.9%, 58.4%, 20.8%)
CIE-LABlab(73.97, -4.89, 51.50)
CIE-LCHlch(73.97, 51.73, 95.42°)
OKLaboklab(77.39% -0.0166 0.1194)
OKLCHoklch(77.39% 0.121 97.9)
XYZxyz(42.6870, 46.6544, 15.1425)
Luminance0.4665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB654 #5468CA
analogous
#CA7B54 #CAB654 #A3CA54
triadic
#CAB654 #54CAB6 #B654CA
tetradic
#CAB654 #54CA7B #5468CA #CA54A3
square
#CAB654 #54CA7B #5468CA #CA54A3
split-complementary
#CAB654 #54A3CA #7B54CA
monochromatic
#7D6E27 #AC9835 #CAB654 #D8CA83 #E7DEB1

Accessibility & contrast

On white

2.03
#CAB654 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#CAB654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB654
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB654#FFFFFF#000000##000000
##CAB6541.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24A
Deuteranopia (green-blind)
#CBB959
Tritanopia (blue-blind)
#D8AAA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab654;
/* rgb */ color: rgb(202, 182, 84);
/* oklch */ color: oklch(77.4% 0.120 97.9);
Tailwind
colors: {
  custom: {
    50: '#ddcb87',
    500: '#cab654',
    950: '#000000',
  },
}
SCSS
$custom: #cab654;
$custom-light: #ddcb87;
$custom-dark: #000000;
JSON
{
  "hex": "#cab654",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 84
  },
  "hsl": {
    "h": 49.831,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77394,
    "c": 0.1205,
    "h": 97.9
  },
  "luminance": 0.46653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB654

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

Preview Lab → · Contrast checker → · Palette generator →

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