#CAB046#CAB046

#CAB046 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.127 H 95.4°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CAB046
RGBrgb(202, 176, 70)
HSLhsl(48, 55%, 53%)
HSVhsv(48, 65%, 79%)
CMYKcmyk(0%, 12.9%, 65.3%, 20.8%)
CIE-LABlab(72.26, -2.68, 55.92)
CIE-LCHlch(72.26, 55.99, 92.75°)
OKLaboklab(76% -0.0119 0.1269)
OKLCHoklch(76% 0.127 95.4)
XYZxyz(40.9899, 44.0515, 12.1369)
Luminance0.4405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB046 #4660CA
analogous
#CA6E46 #CAB046 #A2CA46
triadic
#CAB046 #46CAB0 #B046CA
tetradic
#CAB046 #46CA6E #4660CA #CA46A2
square
#CAB046 #46CA6E #4660CA #CA46A2
split-complementary
#CAB046 #46A2CA #6E46CA
monochromatic
#746421 #A48D2F #CAB046 #D8C476 #E5D9A5

Accessibility & contrast

On white

2.14
#CAB046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#CAB046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB046
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB046#FFFFFF#000000##000000
##CAB0461.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC39
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#D9A39A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab046;
/* rgb */ color: rgb(202, 176, 70);
/* oklch */ color: oklch(76.0% 0.127 95.4);
Tailwind
colors: {
  custom: {
    50: '#ddc77e',
    500: '#cab046',
    950: '#000000',
  },
}
SCSS
$custom: #cab046;
$custom-light: #ddc77e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab046",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 70
  },
  "hsl": {
    "h": 48.182,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76002,
    "c": 0.12742,
    "h": 95.4
  },
  "luminance": 0.44049
}

Semantic roles & 50–950 ramp

primary
#CAB046
secondary
#9AA5D2
accent
#67DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB046

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

Preview Lab → · Contrast checker → · Palette generator →

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