#CAB447#CAB447

#CAB447 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.8% C 0.130 H 97.8°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#CAB447
RGBrgb(202, 180, 71)
HSLhsl(50, 55%, 54%)
HSVhsv(50, 65%, 79%)
CMYKcmyk(0%, 10.9%, 64.9%, 20.8%)
CIE-LABlab(73.32, -4.72, 56.62)
CIE-LCHlch(73.32, 56.82, 94.77°)
OKLaboklab(76.84% -0.0176 0.1285)
OKLCHoklch(76.84% 0.13 97.8)
XYZxyz(41.8176, 45.6560, 12.5698)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB447 #475DCA
analogous
#CA7247 #CAB447 #9ECA47
triadic
#CAB447 #47CAB4 #B447CA
tetradic
#CAB447 #47CA72 #475DCA #CA479E
square
#CAB447 #47CA72 #475DCA #CA479E
split-complementary
#CAB447 #479ECA #7247CA
monochromatic
#756722 #A4912F #CAB447 #D8C777 #E5DBA6

Accessibility & contrast

On white

2.07
#CAB447 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#CAB447 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB447
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB447#FFFFFF#000000##000000
##CAB4471.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B03A
Deuteranopia (green-blind)
#CBB74D
Tritanopia (blue-blind)
#D9A79D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab447;
/* rgb */ color: rgb(202, 180, 71);
/* oklch */ color: oklch(76.8% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#ddca7f',
    500: '#cab447',
    950: '#000000',
  },
}
SCSS
$custom: #cab447;
$custom-light: #ddca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cab447",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 71
  },
  "hsl": {
    "h": 49.924,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76843,
    "c": 0.12968,
    "h": 97.8
  },
  "luminance": 0.45654
}

Semantic roles & 50–950 ramp

primary
#CAB447
secondary
#9AA4D2
accent
#62DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB447

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

Preview Lab → · Contrast checker → · Palette generator →

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