#CAB45E#CAB45E

#CAB45E is a light, moderate yellow. Relative luminance 0.460; OKLCH L 77.1% C 0.110 H 95.3°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#CAB45E
RGBrgb(202, 180, 94)
HSLhsl(48, 50%, 58%)
HSVhsv(48, 53%, 79%)
CMYKcmyk(0%, 10.9%, 53.5%, 20.8%)
CIE-LABlab(73.55, -3.05, 46.24)
CIE-LCHlch(73.55, 46.35, 93.78°)
OKLaboklab(77.1% -0.0101 0.1091)
OKLCHoklch(77.1% 0.11 95.3)
XYZxyz(42.7003, 46.0091, 17.2189)
Luminance0.4601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB45E #5E74CA
analogous
#CA7E5E #CAB45E #AACA5E
triadic
#CAB45E #5ECAB4 #B45ECA
tetradic
#CAB45E #5ECA7E #5E74CA #CA5EAA
square
#CAB45E #5ECA7E #5E74CA #CA5EAA
split-complementary
#CAB45E #5EAACA #7E5ECA
monochromatic
#83712B #B1993A #CAB45E #D9C98C #E8DFBA

Accessibility & contrast

On white

2.06
#CAB45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#CAB45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB45E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB45E#FFFFFF#000000##000000
##CAB45E1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B156
Deuteranopia (green-blind)
#C9B862
Tritanopia (blue-blind)
#D8A9A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab45e;
/* rgb */ color: rgb(202, 180, 94);
/* oklch */ color: oklch(77.1% 0.110 95.3);
Tailwind
colors: {
  custom: {
    50: '#dcca8e',
    500: '#cab45e',
    950: '#000000',
  },
}
SCSS
$custom: #cab45e;
$custom-light: #dcca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab45e",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 94
  },
  "hsl": {
    "h": 47.778,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.77099,
    "c": 0.10956,
    "h": 95.3
  },
  "luminance": 0.46007
}

Semantic roles & 50–950 ramp

primary
#CAB45E
secondary
#ACB5D7
accent
#6ADA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CAB45E

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

Preview Lab → · Contrast checker → · Palette generator →

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