#CAB367#CAB367

#CAB367 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.100 H 93.0°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#CAB367
RGBrgb(202, 179, 103)
HSLhsl(46, 48%, 60%)
HSVhsv(46, 49%, 79%)
CMYKcmyk(0%, 11.4%, 49%, 20.8%)
CIE-LABlab(73.40, -1.73, 41.59)
CIE-LCHlch(73.40, 41.63, 92.38°)
OKLaboklab(77.02% -0.0053 0.0996)
OKLCHoklch(77.02% 0.1 93)
XYZxyz(42.9268, 45.7778, 19.4042)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB367 #677ECA
analogous
#CA8267 #CAB367 #AFCA67
triadic
#CAB367 #67CAB3 #B367CA
tetradic
#CAB367 #67CA82 #677ECA #CA67AF
square
#CAB367 #67CA82 #677ECA #CA67AF
split-complementary
#CAB367 #67AFCA #8267CA
monochromatic
#87732F #B5993F #CAB367 #DACA94 #EAE0C2

Accessibility & contrast

On white

2.07
#CAB367 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#CAB367 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB367
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB367#FFFFFF#000000##000000
##CAB3671.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B061
Deuteranopia (green-blind)
#C7B76A
Tritanopia (blue-blind)
#D7A8A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab367;
/* rgb */ color: rgb(202, 179, 103);
/* oklch */ color: oklch(77.0% 0.100 93.0);
Tailwind
colors: {
  custom: {
    50: '#dcc994',
    500: '#cab367',
    950: '#000000',
  },
}
SCSS
$custom: #cab367;
$custom-light: #dcc994;
$custom-dark: #000000;
JSON
{
  "hex": "#cab367",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 103
  },
  "hsl": {
    "h": 46.061,
    "s": 48.293,
    "l": 59.804
  },
  "oklch": {
    "l": 0.77016,
    "c": 0.09975,
    "h": 93
  },
  "luminance": 0.45776
}

Semantic roles & 50–950 ramp

primary
#CAB367
secondary
#B3BCDA
accent
#70D850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CAB367

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

Preview Lab → · Contrast checker → · Palette generator →

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