#CAB246#CAB246

#CAB246 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.4% C 0.129 H 96.6°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#CAB246
RGBrgb(202, 178, 70)
HSLhsl(49, 55%, 53%)
HSVhsv(49, 65%, 79%)
CMYKcmyk(0%, 11.9%, 65.3%, 20.8%)
CIE-LABlab(72.79, -3.73, 56.48)
CIE-LCHlch(72.79, 56.61, 93.78°)
OKLaboklab(76.42% -0.0149 0.128)
OKLCHoklch(76.42% 0.129 96.6)
XYZxyz(41.3849, 44.8416, 12.2686)
Luminance0.4484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB246 #465ECA
analogous
#CA7046 #CAB246 #A0CA46
triadic
#CAB246 #46CAB2 #B246CA
tetradic
#CAB246 #46CA70 #465ECA #CA46A0
square
#CAB246 #46CA70 #465ECA #CA46A0
split-complementary
#CAB246 #46A0CA #7046CA
monochromatic
#746521 #A48F2F #CAB246 #D8C676 #E5DAA5

Accessibility & contrast

On white

2.11
#CAB246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#CAB246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB246
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB246#FFFFFF#000000##000000
##CAB2461.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE39
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#D9A59B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab246;
/* rgb */ color: rgb(202, 178, 70);
/* oklch */ color: oklch(76.4% 0.129 96.6);
Tailwind
colors: {
  custom: {
    50: '#ddc87e',
    500: '#cab246',
    950: '#000000',
  },
}
SCSS
$custom: #cab246;
$custom-light: #ddc87e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab246",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 49.091,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76417,
    "c": 0.12891,
    "h": 96.6
  },
  "luminance": 0.4484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB246

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

Preview Lab → · Contrast checker → · Palette generator →

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