#CAB347#CAB347

#CAB347 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.6% C 0.129 H 97.2°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#CAB347
RGBrgb(202, 179, 71)
HSLhsl(49, 55%, 54%)
HSVhsv(49, 65%, 79%)
CMYKcmyk(0%, 11.4%, 64.9%, 20.8%)
CIE-LABlab(73.06, -4.20, 56.34)
CIE-LCHlch(73.06, 56.50, 94.26°)
OKLaboklab(76.63% -0.0161 0.1279)
OKLCHoklch(76.63% 0.129 97.2)
XYZxyz(41.6164, 45.2537, 12.5028)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB347 #475ECA
analogous
#CA7147 #CAB347 #9FCA47
triadic
#CAB347 #47CAB3 #B347CA
tetradic
#CAB347 #47CA71 #475ECA #CA479F
square
#CAB347 #47CA71 #475ECA #CA479F
split-complementary
#CAB347 #479FCA #7147CA
monochromatic
#756622 #A4902F #CAB347 #D8C777 #E5DAA6

Accessibility & contrast

On white

2.09
#CAB347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#CAB347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB347
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB347#FFFFFF#000000##000000
##CAB3471.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3A
Deuteranopia (green-blind)
#CAB74D
Tritanopia (blue-blind)
#D9A69C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab347;
/* rgb */ color: rgb(202, 179, 71);
/* oklch */ color: oklch(76.6% 0.129 97.2);
Tailwind
colors: {
  custom: {
    50: '#ddc97f',
    500: '#cab347',
    950: '#000000',
  },
}
SCSS
$custom: #cab347;
$custom-light: #ddc97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cab347",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 71
  },
  "hsl": {
    "h": 49.466,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76635,
    "c": 0.1289,
    "h": 97.2
  },
  "luminance": 0.45252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB347

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

Preview Lab → · Contrast checker → · Palette generator →

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