#CAB944#CAB944

#CAB944 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.9% C 0.136 H 101.0°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#CAB944
RGBrgb(202, 185, 68)
HSLhsl(52, 56%, 53%)
HSVhsv(52, 66%, 79%)
CMYKcmyk(0%, 8.4%, 66.3%, 20.8%)
CIE-LABlab(74.62, -7.50, 59.25)
CIE-LCHlch(74.62, 59.72, 97.22°)
OKLaboklab(77.86% -0.0259 0.1336)
OKLCHoklch(77.86% 0.136 101)
XYZxyz(42.7513, 47.6737, 12.4178)
Luminance0.4767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB944 #4455CA
analogous
#CA7644 #CAB944 #98CA44
triadic
#CAB944 #44CAB9 #B944CA
tetradic
#CAB944 #44CA76 #4455CA #CA4498
square
#CAB944 #44CA76 #4455CA #CA4498
split-complementary
#CAB944 #4498CA #7644CA
monochromatic
#736921 #A3942E #CAB944 #D8CB74 #E5DDA3

Accessibility & contrast

On white

1.99
#CAB944 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#CAB944 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB944
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB944#FFFFFF#000000##000000
##CAB9441.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB435
Deuteranopia (green-blind)
#CFBB4B
Tritanopia (blue-blind)
#D9ACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cab944;
/* rgb */ color: rgb(202, 185, 68);
/* oklch */ color: oklch(77.9% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#ddcd7e',
    500: '#cab944',
    950: '#000000',
  },
}
SCSS
$custom: #cab944;
$custom-light: #ddcd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab944",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 68
  },
  "hsl": {
    "h": 52.388,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77864,
    "c": 0.13607,
    "h": 101
  },
  "luminance": 0.47672
}

Semantic roles & 50–950 ramp

primary
#CAB944
secondary
#989FD2
accent
#5CDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB944

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

Preview Lab → · Contrast checker → · Palette generator →

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