#CAB657#CAB657

#CAB657 is a light, moderate yellow. Relative luminance 0.467; OKLCH L 77.4% C 0.118 H 97.6°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#CAB657
RGBrgb(202, 182, 87)
HSLhsl(50, 52%, 57%)
HSVhsv(50, 57%, 79%)
CMYKcmyk(0%, 9.9%, 56.9%, 20.8%)
CIE-LABlab(74.00, -4.67, 50.13)
CIE-LCHlch(74.00, 50.35, 95.32°)
OKLaboklab(77.43% -0.0156 0.1168)
OKLCHoklch(77.43% 0.118 97.6)
XYZxyz(42.8070, 46.7024, 15.7746)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB657 #576BCA
analogous
#CA7D57 #CAB657 #A5CA57
triadic
#CAB657 #57CAB6 #B657CA
tetradic
#CAB657 #57CA7D #576BCA #CA57A5
square
#CAB657 #57CA7D #576BCA #CA57A5
split-complementary
#CAB657 #57A5CA #7D57CA
monochromatic
#7F7028 #AD9937 #CAB657 #D9CA86 #E7DEB4

Accessibility & contrast

On white

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

On black

10.34
#CAB657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB657
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB657#FFFFFF#000000##000000
##CAB6571.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24E
Deuteranopia (green-blind)
#CBB95B
Tritanopia (blue-blind)
#D8AAA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab657;
/* rgb */ color: rgb(202, 182, 87);
/* oklch */ color: oklch(77.4% 0.118 97.6);
Tailwind
colors: {
  custom: {
    50: '#ddcb89',
    500: '#cab657',
    950: '#000000',
  },
}
SCSS
$custom: #cab657;
$custom-light: #ddcb89;
$custom-dark: #000000;
JSON
{
  "hex": "#cab657",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 87
  },
  "hsl": {
    "h": 49.565,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.77428,
    "c": 0.1178,
    "h": 97.6
  },
  "luminance": 0.46701
}

Semantic roles & 50–950 ramp

primary
#CAB657
secondary
#A7AFD6
accent
#65DB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB657

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

Preview Lab → · Contrast checker → · Palette generator →

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