#CAB358#CAB358

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

Color values

HEX#CAB358
RGBrgb(202, 179, 88)
HSLhsl(48, 52%, 57%)
HSVhsv(48, 56%, 79%)
CMYKcmyk(0%, 11.4%, 56.4%, 20.8%)
CIE-LABlab(73.22, -3.01, 48.76)
CIE-LCHlch(73.22, 48.85, 93.54°)
OKLaboklab(76.82% -0.0107 0.1139)
OKLCHoklch(76.82% 0.114 95.4)
XYZxyz(42.2403, 45.5032, 15.7887)
Luminance0.4550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB358 #586FCA
analogous
#CA7A58 #CAB358 #A8CA58
triadic
#CAB358 #58CAB3 #B358CA
tetradic
#CAB358 #58CA7A #586FCA #CA58A8
square
#CAB358 #58CA7A #586FCA #CA58A8
split-complementary
#CAB358 #58A8CA #7A58CA
monochromatic
#7F6E28 #AE9637 #CAB358 #D9C886 #E7DDB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB358#FFFFFF#000000##000000
##CAB3581.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)
#C3B04F
Deuteranopia (green-blind)
#C9B75C
Tritanopia (blue-blind)
#D8A79E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab358;
/* rgb */ color: rgb(202, 179, 88);
/* oklch */ color: oklch(76.8% 0.114 95.4);
Tailwind
colors: {
  custom: {
    50: '#ddc98a',
    500: '#cab358',
    950: '#000000',
  },
}
SCSS
$custom: #cab358;
$custom-light: #ddc98a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab358",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 88
  },
  "hsl": {
    "h": 47.895,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.76816,
    "c": 0.11443,
    "h": 95.4
  },
  "luminance": 0.45501
}

Semantic roles & 50–950 ramp

primary
#CAB358
secondary
#A8B1D6
accent
#69DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB358

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

Preview Lab → · Contrast checker → · Palette generator →

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