#CAB458#CAB458

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

Color values

HEX#CAB458
RGBrgb(202, 180, 88)
HSLhsl(48, 52%, 57%)
HSVhsv(48, 56%, 79%)
CMYKcmyk(0%, 10.9%, 56.4%, 20.8%)
CIE-LABlab(73.48, -3.54, 49.06)
CIE-LCHlch(73.48, 49.19, 94.13°)
OKLaboklab(77.02% -0.0122 0.1146)
OKLCHoklch(77.02% 0.115 96.1)
XYZxyz(42.4415, 45.9055, 15.8557)
Luminance0.4590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB458 #586ECA
analogous
#CA7B58 #CAB458 #A7CA58
triadic
#CAB458 #58CAB4 #B458CA
tetradic
#CAB458 #58CA7B #586ECA #CA58A7
square
#CAB458 #58CA7B #586ECA #CA58A7
split-complementary
#CAB458 #58A7CA #7B58CA
monochromatic
#7F6E28 #AE9737 #CAB458 #D9C986 #E7DEB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB458#FFFFFF#000000##000000
##CAB4581.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)
#C4B04F
Deuteranopia (green-blind)
#CAB85C
Tritanopia (blue-blind)
#D8A89F
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab458;
/* rgb */ color: rgb(202, 180, 88);
/* oklch */ color: oklch(77.0% 0.115 96.1);
Tailwind
colors: {
  custom: {
    50: '#ddca8a',
    500: '#cab458',
    950: '#000000',
  },
}
SCSS
$custom: #cab458;
$custom-light: #ddca8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab458",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 88
  },
  "hsl": {
    "h": 48.421,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77024,
    "c": 0.11523,
    "h": 96.1
  },
  "luminance": 0.45904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB458

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

Preview Lab → · Contrast checker → · Palette generator →

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