#CAB65B#CAB65B

#CAB65B is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.5% C 0.114 H 97.1°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#CAB65B
RGBrgb(202, 182, 91)
HSLhsl(49, 51%, 57%)
HSVhsv(49, 55%, 79%)
CMYKcmyk(0%, 9.9%, 55%, 20.8%)
CIE-LABlab(74.04, -4.35, 48.27)
CIE-LCHlch(74.04, 48.47, 95.15°)
OKLaboklab(77.48% -0.0142 0.1132)
OKLCHoklch(77.48% 0.114 97.1)
XYZxyz(42.9750, 46.7696, 16.6593)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB65B #5B6FCA
analogous
#CA7E5B #CAB65B #A7CA5B
triadic
#CAB65B #5BCAB6 #B65BCA
tetradic
#CAB65B #5BCA7E #5B6FCA #CA5BA7
square
#CAB65B #5BCA7E #5B6FCA #CA5BA7
split-complementary
#CAB65B #5BA7CA #7E5BCA
monochromatic
#81712A #AF9A39 #CAB65B #D9CB89 #E8DFB8

Accessibility & contrast

On white

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

On black

10.35
#CAB65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB65B
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB65B#FFFFFF#000000##000000
##CAB65B1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab65b;
/* rgb */ color: rgb(202, 182, 91);
/* oklch */ color: oklch(77.5% 0.114 97.1);
Tailwind
colors: {
  custom: {
    50: '#dccb8c',
    500: '#cab65b',
    950: '#000000',
  },
}
SCSS
$custom: #cab65b;
$custom-light: #dccb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cab65b",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 91
  },
  "hsl": {
    "h": 49.189,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.77476,
    "c": 0.11409,
    "h": 97.1
  },
  "luminance": 0.46768
}

Semantic roles & 50–950 ramp

primary
#CAB65B
secondary
#AAB2D7
accent
#67DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB65B

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

Preview Lab → · Contrast checker → · Palette generator →

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