#CAB264#CAB264

#CAB264 is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.8% C 0.102 H 92.7°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#CAB264
RGBrgb(202, 178, 100)
HSLhsl(46, 49%, 59%)
HSVhsv(46, 50%, 79%)
CMYKcmyk(0%, 11.9%, 50.5%, 20.8%)
CIE-LABlab(73.10, -1.48, 42.73)
CIE-LCHlch(73.10, 42.76, 91.98°)
OKLaboklab(76.77% -0.0049 0.1019)
OKLCHoklch(76.77% 0.102 92.7)
XYZxyz(42.5792, 45.3193, 18.5588)
Luminance0.4532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB264 #647CCA
analogous
#CA7F64 #CAB264 #AFCA64
triadic
#CAB264 #64CAB2 #B264CA
tetradic
#CAB264 #64CA7F #647CCA #CA64AF
square
#CAB264 #64CA7F #647CCA #CA64AF
split-complementary
#CAB264 #64AFCA #7F64CA
monochromatic
#86712E #B3983D #CAB264 #DAC992 #E9DFBF

Accessibility & contrast

On white

2.09
#CAB264 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#CAB264 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB264
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB264#FFFFFF#000000##000000
##CAB2641.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF5D
Deuteranopia (green-blind)
#C7B767
Tritanopia (blue-blind)
#D8A7A0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab264;
/* rgb */ color: rgb(202, 178, 100);
/* oklch */ color: oklch(76.8% 0.102 92.7);
Tailwind
colors: {
  custom: {
    50: '#dcc892',
    500: '#cab264',
    950: '#000000',
  },
}
SCSS
$custom: #cab264;
$custom-light: #dcc892;
$custom-dark: #000000;
JSON
{
  "hex": "#cab264",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 100
  },
  "hsl": {
    "h": 45.882,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.76767,
    "c": 0.10203,
    "h": 92.7
  },
  "luminance": 0.45317
}

Semantic roles & 50–950 ramp

primary
#CAB264
secondary
#B1BAD9
accent
#70D94F
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CAB264

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

Preview Lab → · Contrast checker → · Palette generator →

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