#CAB645#CAB645

#CAB645 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.2% C 0.133 H 99.2°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#CAB645
RGBrgb(202, 182, 69)
HSLhsl(51, 56%, 53%)
HSVhsv(51, 66%, 79%)
CMYKcmyk(0%, 9.9%, 65.8%, 20.8%)
CIE-LABlab(73.83, -5.89, 58.01)
CIE-LCHlch(73.83, 58.31, 95.79°)
OKLaboklab(77.24% -0.0212 0.1311)
OKLCHoklch(77.24% 0.133 99.2)
XYZxyz(42.1611, 46.4440, 12.3729)
Luminance0.4644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB645 #4559CA
analogous
#CA7345 #CAB645 #9CCA45
triadic
#CAB645 #45CAB6 #B645CA
tetradic
#CAB645 #45CA73 #4559CA #CA459C
square
#CAB645 #45CA73 #4559CA #CA459C
split-complementary
#CAB645 #459CCA #7345CA
monochromatic
#746721 #A3922F #CAB645 #D8C975 #E5DBA4

Accessibility & contrast

On white

2.04
#CAB645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#CAB645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB645
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB645#FFFFFF#000000##000000
##CAB6451.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B137
Deuteranopia (green-blind)
#CCB94B
Tritanopia (blue-blind)
#D9A99E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab645;
/* rgb */ color: rgb(202, 182, 69);
/* oklch */ color: oklch(77.2% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#ddcb7e',
    500: '#cab645',
    950: '#000000',
  },
}
SCSS
$custom: #cab645;
$custom-light: #ddcb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab645",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 50.977,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77243,
    "c": 0.13282,
    "h": 99.2
  },
  "luminance": 0.46442
}

Semantic roles & 50–950 ramp

primary
#CAB645
secondary
#99A1D2
accent
#5FDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB645

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

Preview Lab → · Contrast checker → · Palette generator →

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