#CAB146#CAB146

#CAB146 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.128 H 96.0°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CAB146
RGBrgb(202, 177, 70)
HSLhsl(49, 55%, 53%)
HSVhsv(49, 65%, 79%)
CMYKcmyk(0%, 12.4%, 65.3%, 20.8%)
CIE-LABlab(72.53, -3.21, 56.20)
CIE-LCHlch(72.53, 56.30, 93.27°)
OKLaboklab(76.21% -0.0134 0.1275)
OKLCHoklch(76.21% 0.128 96)
XYZxyz(41.1867, 44.4451, 12.2025)
Luminance0.4444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB146 #465FCA
analogous
#CA6F46 #CAB146 #A1CA46
triadic
#CAB146 #46CAB1 #B146CA
tetradic
#CAB146 #46CA6F #465FCA #CA46A1
square
#CAB146 #46CA6F #465FCA #CA46A1
split-complementary
#CAB146 #46A1CA #6F46CA
monochromatic
#746521 #A48E2F #CAB146 #D8C576 #E5D9A5

Accessibility & contrast

On white

2.12
#CAB146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CAB146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB146
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB146#FFFFFF#000000##000000
##CAB1461.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD39
Deuteranopia (green-blind)
#C9B54B
Tritanopia (blue-blind)
#D9A49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab146;
/* rgb */ color: rgb(202, 177, 70);
/* oklch */ color: oklch(76.2% 0.128 96.0);
Tailwind
colors: {
  custom: {
    50: '#ddc87e',
    500: '#cab146',
    950: '#000000',
  },
}
SCSS
$custom: #cab146;
$custom-light: #ddc87e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab146",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 48.636,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7621,
    "c": 0.12815,
    "h": 96
  },
  "luminance": 0.44443
}

Semantic roles & 50–950 ramp

primary
#CAB146
secondary
#9AA4D2
accent
#65DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB146

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

Preview Lab → · Contrast checker → · Palette generator →

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