#CAB544#CAB544

#CAB544 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.0% C 0.133 H 98.7°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#CAB544
RGBrgb(202, 181, 68)
HSLhsl(51, 56%, 53%)
HSVhsv(51, 66%, 79%)
CMYKcmyk(0%, 10.4%, 66.3%, 20.8%)
CIE-LABlab(73.56, -5.42, 58.15)
CIE-LCHlch(73.56, 58.40, 95.33°)
OKLaboklab(77.03% -0.02 0.1313)
OKLCHoklch(77.03% 0.133 98.7)
XYZxyz(41.9262, 46.0236, 12.1428)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB544 #4459CA
analogous
#CA7244 #CAB544 #9CCA44
triadic
#CAB544 #44CAB5 #B544CA
tetradic
#CAB544 #44CA72 #4459CA #CA449C
square
#CAB544 #44CA72 #4459CA #CA449C
split-complementary
#CAB544 #449CCA #7244CA
monochromatic
#736621 #A3902E #CAB544 #D8C874 #E5DBA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB544#FFFFFF#000000##000000
##CAB5441.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)
#C6B036
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#D9A89E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab544;
/* rgb */ color: rgb(202, 181, 68);
/* oklch */ color: oklch(77.0% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#ddca7e',
    500: '#cab544',
    950: '#000000',
  },
}
SCSS
$custom: #cab544;
$custom-light: #ddca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab544",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 68
  },
  "hsl": {
    "h": 50.597,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77025,
    "c": 0.13276,
    "h": 98.7
  },
  "luminance": 0.46022
}

Semantic roles & 50–950 ramp

primary
#CAB544
secondary
#98A1D2
accent
#60DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB544

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

Preview Lab → · Contrast checker → · Palette generator →

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