#CAB457#CAB457

#CAB457 is a light, moderate yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.116 H 96.2°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#CAB457
RGBrgb(202, 180, 87)
HSLhsl(49, 52%, 57%)
HSVhsv(49, 57%, 79%)
CMYKcmyk(0%, 10.9%, 56.9%, 20.8%)
CIE-LABlab(73.47, -3.62, 49.52)
CIE-LCHlch(73.47, 49.66, 94.18°)
OKLaboklab(77.01% -0.0125 0.1155)
OKLCHoklch(77.01% 0.116 96.2)
XYZxyz(42.4003, 45.8891, 15.6391)
Luminance0.4589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB457 #576DCA
analogous
#CA7B57 #CAB457 #A7CA57
triadic
#CAB457 #57CAB4 #B457CA
tetradic
#CAB457 #57CA7B #576DCA #CA57A7
square
#CAB457 #57CA7B #576DCA #CA57A7
split-complementary
#CAB457 #57A7CA #7B57CA
monochromatic
#7F6E28 #AD9637 #CAB457 #D9C986 #E7DEB4

Accessibility & contrast

On white

2.06
#CAB457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#CAB457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB457
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB457#FFFFFF#000000##000000
##CAB4571.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B04E
Deuteranopia (green-blind)
#CAB85B
Tritanopia (blue-blind)
#D8A89F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab457;
/* rgb */ color: rgb(202, 180, 87);
/* oklch */ color: oklch(77.0% 0.116 96.2);
Tailwind
colors: {
  custom: {
    50: '#ddca89',
    500: '#cab457',
    950: '#000000',
  },
}
SCSS
$custom: #cab457;
$custom-light: #ddca89;
$custom-dark: #000000;
JSON
{
  "hex": "#cab457",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 87
  },
  "hsl": {
    "h": 48.522,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.77012,
    "c": 0.11615,
    "h": 96.2
  },
  "luminance": 0.45887
}

Semantic roles & 50–950 ramp

primary
#CAB457
secondary
#A7B0D6
accent
#68DB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB457

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

Preview Lab → · Contrast checker → · Palette generator →

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