#CAB357#CAB357

#CAB357 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.115 H 95.5°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CAB357
RGBrgb(202, 179, 87)
HSLhsl(48, 52%, 57%)
HSVhsv(48, 57%, 79%)
CMYKcmyk(0%, 11.4%, 56.9%, 20.8%)
CIE-LABlab(73.21, -3.09, 49.22)
CIE-LCHlch(73.21, 49.32, 93.59°)
OKLaboklab(76.81% -0.011 0.1148)
OKLCHoklch(76.81% 0.115 95.5)
XYZxyz(42.1992, 45.4868, 15.5720)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB357 #576ECA
analogous
#CA7A57 #CAB357 #A8CA57
triadic
#CAB357 #57CAB3 #B357CA
tetradic
#CAB357 #57CA7A #576ECA #CA57A8
square
#CAB357 #57CA7A #576ECA #CA57A8
split-complementary
#CAB357 #57A8CA #7A57CA
monochromatic
#7F6D28 #AD9537 #CAB357 #D9C886 #E7DDB4

Accessibility & contrast

On white

2.08
#CAB357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#CAB357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB357
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB357#FFFFFF#000000##000000
##CAB3571.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04E
Deuteranopia (green-blind)
#C9B75B
Tritanopia (blue-blind)
#D8A79E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab357;
/* rgb */ color: rgb(202, 179, 87);
/* oklch */ color: oklch(76.8% 0.115 95.5);
Tailwind
colors: {
  custom: {
    50: '#ddc989',
    500: '#cab357',
    950: '#000000',
  },
}
SCSS
$custom: #cab357;
$custom-light: #ddc989;
$custom-dark: #000000;
JSON
{
  "hex": "#cab357",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 87
  },
  "hsl": {
    "h": 48,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.76805,
    "c": 0.11535,
    "h": 95.5
  },
  "luminance": 0.45485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB357

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

Preview Lab → · Contrast checker → · Palette generator →

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