#CAB758#CAB758

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

Color values

HEX#CAB758
RGBrgb(202, 183, 88)
HSLhsl(50, 52%, 57%)
HSVhsv(50, 56%, 79%)
CMYKcmyk(0%, 9.4%, 56.4%, 20.8%)
CIE-LABlab(74.27, -5.11, 49.97)
CIE-LCHlch(74.27, 50.23, 95.84°)
OKLaboklab(77.65% -0.0167 0.1166)
OKLCHoklch(77.65% 0.118 98.2)
XYZxyz(43.0536, 47.1299, 16.0598)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB758 #586BCA
analogous
#CA7E58 #CAB758 #A4CA58
triadic
#CAB758 #58CAB7 #B758CA
tetradic
#CAB758 #58CA7E #586BCA #CA58A4
square
#CAB758 #58CA7E #586BCA #CA58A4
split-complementary
#CAB758 #58A4CA #7E58CA
monochromatic
#7F7128 #AE9A37 #CAB758 #D9CB86 #E7DFB5

Accessibility & contrast

On white

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

On black

10.43
#CAB758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB758
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB758#FFFFFF#000000##000000
##CAB7581.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab758;
/* rgb */ color: rgb(202, 183, 88);
/* oklch */ color: oklch(77.6% 0.118 98.2);
Tailwind
colors: {
  custom: {
    50: '#ddcc8a',
    500: '#cab758',
    950: '#000000',
  },
}
SCSS
$custom: #cab758;
$custom-light: #ddcc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab758",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 88
  },
  "hsl": {
    "h": 50,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.77648,
    "c": 0.11775,
    "h": 98.2
  },
  "luminance": 0.47128
}

Semantic roles & 50–950 ramp

primary
#CAB758
secondary
#A8AFD6
accent
#64DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB758

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

Preview Lab → · Contrast checker → · Palette generator →

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