#CAB346#CAB346

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

Color values

HEX#CAB346
RGBrgb(202, 179, 70)
HSLhsl(50, 55%, 53%)
HSVhsv(50, 65%, 79%)
CMYKcmyk(0%, 11.4%, 65.3%, 20.8%)
CIE-LABlab(73.05, -4.26, 56.76)
CIE-LCHlch(73.05, 56.92, 94.29°)
OKLaboklab(76.63% -0.0164 0.1286)
OKLCHoklch(76.63% 0.13 97.3)
XYZxyz(41.5846, 45.2409, 12.3351)
Luminance0.4524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB346 #465DCA
analogous
#CA7146 #CAB346 #9FCA46
triadic
#CAB346 #46CAB3 #B346CA
tetradic
#CAB346 #46CA71 #465DCA #CA469F
square
#CAB346 #46CA71 #465DCA #CA469F
split-complementary
#CAB346 #469FCA #7146CA
monochromatic
#746621 #A48F2F #CAB346 #D8C776 #E5DAA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB346#FFFFFF#000000##000000
##CAB3461.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)
#C4AF39
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#D9A69C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab346;
/* rgb */ color: rgb(202, 179, 70);
/* oklch */ color: oklch(76.6% 0.130 97.3);
Tailwind
colors: {
  custom: {
    50: '#ddc97f',
    500: '#cab346',
    950: '#000000',
  },
}
SCSS
$custom: #cab346;
$custom-light: #ddc97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cab346",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 70
  },
  "hsl": {
    "h": 49.545,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76625,
    "c": 0.12967,
    "h": 97.3
  },
  "luminance": 0.45239
}

Semantic roles & 50–950 ramp

primary
#CAB346
secondary
#9AA3D2
accent
#63DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB346

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

Preview Lab → · Contrast checker → · Palette generator →

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