#CAB263#CAB263

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

Color values

HEX#CAB263
RGBrgb(202, 178, 99)
HSLhsl(46, 49%, 59%)
HSVhsv(46, 51%, 79%)
CMYKcmyk(0%, 11.9%, 51%, 20.8%)
CIE-LABlab(73.09, -1.57, 43.22)
CIE-LCHlch(73.09, 43.25, 92.08°)
OKLaboklab(76.75% -0.0052 0.1029)
OKLCHoklch(76.75% 0.103 92.9)
XYZxyz(42.5311, 45.3001, 18.3055)
Luminance0.4530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB263 #637BCA
analogous
#CA7F63 #CAB263 #AFCA63
triadic
#CAB263 #63CAB2 #B263CA
tetradic
#CAB263 #63CA7F #637BCA #CA63AF
square
#CAB263 #63CA7F #637BCA #CA63AF
split-complementary
#CAB263 #63AFCA #7F63CA
monochromatic
#85712D #B3973D #CAB263 #DAC991 #E9DFBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB263#FFFFFF#000000##000000
##CAB2631.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)
#C1AF5C
Deuteranopia (green-blind)
#C7B766
Tritanopia (blue-blind)
#D8A79F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab263;
/* rgb */ color: rgb(202, 178, 99);
/* oklch */ color: oklch(76.8% 0.103 92.9);
Tailwind
colors: {
  custom: {
    50: '#dcc891',
    500: '#cab263',
    950: '#000000',
  },
}
SCSS
$custom: #cab263;
$custom-light: #dcc891;
$custom-dark: #000000;
JSON
{
  "hex": "#cab263",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 99
  },
  "hsl": {
    "h": 46.019,
    "s": 49.282,
    "l": 59.02
  },
  "oklch": {
    "l": 0.76753,
    "c": 0.10303,
    "h": 92.9
  },
  "luminance": 0.45298
}

Semantic roles & 50–950 ramp

primary
#CAB263
secondary
#B0BAD9
accent
#6FD94F
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CAB263

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

Preview Lab → · Contrast checker → · Palette generator →

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