#CABB46#CABB46

#CABB46 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.3% C 0.136 H 102.0°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CABB46
RGBrgb(202, 187, 70)
HSLhsl(53, 55%, 53%)
HSVhsv(53, 65%, 79%)
CMYKcmyk(0%, 7.4%, 65.3%, 20.8%)
CIE-LABlab(75.17, -8.42, 58.99)
CIE-LCHlch(75.17, 59.59, 98.12°)
OKLaboklab(78.3% -0.0283 0.1333)
OKLCHoklch(78.3% 0.136 102)
XYZxyz(43.2347, 48.5412, 12.8852)
Luminance0.4854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB46 #4655CA
analogous
#CA7946 #CABB46 #97CA46
triadic
#CABB46 #46CABB #BB46CA
tetradic
#CABB46 #46CA79 #4655CA #CA4697
square
#CABB46 #46CA79 #4655CA #CA4697
split-complementary
#CABB46 #4697CA #7946CA
monochromatic
#746B21 #A4972F #CABB46 #D8CC76 #E5DEA5

Accessibility & contrast

On white

1.96
#CABB46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#CABB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB46
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB46#FFFFFF#000000##000000
##CABB461.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB537
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#D9AEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb46;
/* rgb */ color: rgb(202, 187, 70);
/* oklch */ color: oklch(78.3% 0.136 102.0);
Tailwind
colors: {
  custom: {
    50: '#ddcf7f',
    500: '#cabb46',
    950: '#000000',
  },
}
SCSS
$custom: #cabb46;
$custom-light: #ddcf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb46",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 70
  },
  "hsl": {
    "h": 53.182,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78302,
    "c": 0.13631,
    "h": 102
  },
  "luminance": 0.48539
}

Semantic roles & 50–950 ramp

primary
#CABB46
secondary
#9AA0D2
accent
#5ADF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABB46

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

Preview Lab → · Contrast checker → · Palette generator →

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