#CAB846#CAB846

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

Color values

HEX#CAB846
RGBrgb(202, 184, 70)
HSLhsl(52, 55%, 53%)
HSVhsv(52, 65%, 79%)
CMYKcmyk(0%, 8.9%, 65.3%, 20.8%)
CIE-LABlab(74.37, -6.87, 58.15)
CIE-LCHlch(74.37, 58.56, 96.73°)
OKLaboklab(77.67% -0.0239 0.1316)
OKLCHoklch(77.67% 0.134 100.3)
XYZxyz(42.6049, 47.2816, 12.6752)
Luminance0.4728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB846 #4658CA
analogous
#CA7646 #CAB846 #9ACA46
triadic
#CAB846 #46CAB8 #B846CA
tetradic
#CAB846 #46CA76 #4658CA #CA469A
square
#CAB846 #46CA76 #4658CA #CA469A
split-complementary
#CAB846 #469ACA #7646CA
monochromatic
#746921 #A4942F #CAB846 #D8CA76 #E5DDA5

Accessibility & contrast

On white

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

On black

10.46
#CAB846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB846
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB846#FFFFFF#000000##000000
##CAB8461.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab846;
/* rgb */ color: rgb(202, 184, 70);
/* oklch */ color: oklch(77.7% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#ddcd7f',
    500: '#cab846',
    950: '#000000',
  },
}
SCSS
$custom: #cab846;
$custom-light: #ddcd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cab846",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 70
  },
  "hsl": {
    "h": 51.818,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.77671,
    "c": 0.13373,
    "h": 100.3
  },
  "luminance": 0.4728
}

Semantic roles & 50–950 ramp

primary
#CAB846
secondary
#9AA1D2
accent
#5DDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB846

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

Preview Lab → · Contrast checker → · Palette generator →

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