#CAB757#CAB757

#CAB757 is a light, moderate yellow. Relative luminance 0.471; OKLCH L 77.6% C 0.119 H 98.3°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#CAB757
RGBrgb(202, 183, 87)
HSLhsl(50, 52%, 57%)
HSVhsv(50, 57%, 79%)
CMYKcmyk(0%, 9.4%, 56.9%, 20.8%)
CIE-LABlab(74.26, -5.19, 50.43)
CIE-LCHlch(74.26, 50.70, 95.87°)
OKLaboklab(77.64% -0.0171 0.1174)
OKLCHoklch(77.64% 0.119 98.3)
XYZxyz(43.0125, 47.1135, 15.8431)
Luminance0.4711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB757 #576ACA
analogous
#CA7E57 #CAB757 #A4CA57
triadic
#CAB757 #57CAB7 #B757CA
tetradic
#CAB757 #57CA7E #576ACA #CA57A4
square
#CAB757 #57CA7E #576ACA #CA57A4
split-complementary
#CAB757 #57A4CA #7E57CA
monochromatic
#7F7028 #AD9A37 #CAB757 #D9CB86 #E7DFB4

Accessibility & contrast

On white

2.01
#CAB757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#CAB757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB757
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB757#FFFFFF#000000##000000
##CAB7571.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34D
Deuteranopia (green-blind)
#CCBA5B
Tritanopia (blue-blind)
#D8ABA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab757;
/* rgb */ color: rgb(202, 183, 87);
/* oklch */ color: oklch(77.6% 0.119 98.3);
Tailwind
colors: {
  custom: {
    50: '#ddcc89',
    500: '#cab757',
    950: '#000000',
  },
}
SCSS
$custom: #cab757;
$custom-light: #ddcc89;
$custom-dark: #000000;
JSON
{
  "hex": "#cab757",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 87
  },
  "hsl": {
    "h": 50.087,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.77636,
    "c": 0.11866,
    "h": 98.3
  },
  "luminance": 0.47112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB757

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

Preview Lab → · Contrast checker → · Palette generator →

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