#CAB644#CAB644

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

Color values

HEX#CAB644
RGBrgb(202, 182, 68)
HSLhsl(51, 56%, 53%)
HSVhsv(51, 66%, 79%)
CMYKcmyk(0%, 9.9%, 66.3%, 20.8%)
CIE-LABlab(73.82, -5.94, 58.42)
CIE-LCHlch(73.82, 58.72, 95.81°)
OKLaboklab(77.23% -0.0215 0.1318)
OKLCHoklch(77.23% 0.134 99.2)
XYZxyz(42.1303, 46.4317, 12.2108)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB644 #4458CA
analogous
#CA7344 #CAB644 #9BCA44
triadic
#CAB644 #44CAB6 #B644CA
tetradic
#CAB644 #44CA73 #4458CA #CA449B
square
#CAB644 #44CA73 #4458CA #CA449B
split-complementary
#CAB644 #449BCA #7344CA
monochromatic
#736721 #A3912E #CAB644 #D8C974 #E5DBA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB644#FFFFFF#000000##000000
##CAB6441.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)
#C7B135
Deuteranopia (green-blind)
#CCB94A
Tritanopia (blue-blind)
#D9A99E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab644;
/* rgb */ color: rgb(202, 182, 68);
/* oklch */ color: oklch(77.2% 0.134 99.2);
Tailwind
colors: {
  custom: {
    50: '#ddcb7e',
    500: '#cab644',
    950: '#000000',
  },
}
SCSS
$custom: #cab644;
$custom-light: #ddcb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab644",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 68
  },
  "hsl": {
    "h": 51.045,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77234,
    "c": 0.13357,
    "h": 99.2
  },
  "luminance": 0.4643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB644

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

Preview Lab → · Contrast checker → · Palette generator →

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