#CAB658#CAB658

#CAB658 is a light, moderate yellow. Relative luminance 0.467; OKLCH L 77.4% C 0.117 H 97.5°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#CAB658
RGBrgb(202, 182, 88)
HSLhsl(49, 52%, 57%)
HSVhsv(49, 56%, 79%)
CMYKcmyk(0%, 9.9%, 56.4%, 20.8%)
CIE-LABlab(74.01, -4.59, 49.67)
CIE-LCHlch(74.01, 49.88, 95.28°)
OKLaboklab(77.44% -0.0152 0.1159)
OKLCHoklch(77.44% 0.117 97.5)
XYZxyz(42.8481, 46.7189, 15.9913)
Luminance0.4672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB658 #586CCA
analogous
#CA7D58 #CAB658 #A5CA58
triadic
#CAB658 #58CAB6 #B658CA
tetradic
#CAB658 #58CA7D #586CCA #CA58A5
square
#CAB658 #58CA7D #586CCA #CA58A5
split-complementary
#CAB658 #58A5CA #7D58CA
monochromatic
#7F7028 #AE9937 #CAB658 #D9CA86 #E7DFB5

Accessibility & contrast

On white

2.03
#CAB658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#CAB658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB658
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB658#FFFFFF#000000##000000
##CAB6581.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24F
Deuteranopia (green-blind)
#CBB95C
Tritanopia (blue-blind)
#D8AAA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cab658;
/* rgb */ color: rgb(202, 182, 88);
/* oklch */ color: oklch(77.4% 0.117 97.5);
Tailwind
colors: {
  custom: {
    50: '#ddcb8a',
    500: '#cab658',
    950: '#000000',
  },
}
SCSS
$custom: #cab658;
$custom-light: #ddcb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab658",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 88
  },
  "hsl": {
    "h": 49.474,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.7744,
    "c": 0.11689,
    "h": 97.5
  },
  "luminance": 0.46717
}

Semantic roles & 50–950 ramp

primary
#CAB658
secondary
#A8B0D6
accent
#66DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB658

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

Preview Lab → · Contrast checker → · Palette generator →

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