#CAB844#CAB844

#CAB844 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.7% C 0.135 H 100.4°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#CAB844
RGBrgb(202, 184, 68)
HSLhsl(52, 56%, 53%)
HSVhsv(52, 66%, 79%)
CMYKcmyk(0%, 8.9%, 66.3%, 20.8%)
CIE-LABlab(74.35, -6.98, 58.97)
CIE-LCHlch(74.35, 59.39, 96.75°)
OKLaboklab(77.65% -0.0244 0.133)
OKLCHoklch(77.65% 0.135 100.4)
XYZxyz(42.5428, 47.2568, 12.3483)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB844 #4456CA
analogous
#CA7544 #CAB844 #99CA44
triadic
#CAB844 #44CAB8 #B844CA
tetradic
#CAB844 #44CA75 #4456CA #CA4499
square
#CAB844 #44CA75 #4456CA #CA4499
split-complementary
#CAB844 #4499CA #7544CA
monochromatic
#736821 #A3932E #CAB844 #D8CA74 #E5DCA3

Accessibility & contrast

On white

2.01
#CAB844 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#CAB844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB844
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB844#FFFFFF#000000##000000
##CAB8441.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B335
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#D9ABA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab844;
/* rgb */ color: rgb(202, 184, 68);
/* oklch */ color: oklch(77.7% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#ddcd7e',
    500: '#cab844',
    950: '#000000',
  },
}
SCSS
$custom: #cab844;
$custom-light: #ddcd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab844",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 68
  },
  "hsl": {
    "h": 51.94,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77653,
    "c": 0.13521,
    "h": 100.4
  },
  "luminance": 0.47255
}

Semantic roles & 50–950 ramp

primary
#CAB844
secondary
#98A0D2
accent
#5DDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB844

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

Preview Lab → · Contrast checker → · Palette generator →

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