#B3AA40#B3AA40

#B3AA40 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.126 H 104.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#B3AA40
RGBrgb(179, 170, 64)
HSLhsl(55, 47%, 48%)
HSVhsv(55, 64%, 70%)
CMYKcmyk(0%, 5%, 64.2%, 29.8%)
CIE-LABlab(68.54, -9.82, 53.94)
CIE-LCHlch(68.54, 54.82, 100.32°)
OKLaboklab(72.54% -0.0316 0.1224)
OKLCHoklch(72.54% 0.126 104.5)
XYZxyz(33.8918, 38.7046, 10.5350)
Luminance0.3870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AA40 #4049B3
analogous
#B37040 #B3AA40 #83B340
triadic
#B3AA40 #40B3AA #AA40B3
tetradic
#B3AA40 #40B370 #4049B3 #B34083
square
#B3AA40 #40B370 #4049B3 #B34083
split-complementary
#B3AA40 #4083B3 #7040B3
monochromatic
#595420 #867F30 #B3AA40 #C9C167 #D9D494

Accessibility & contrast

On white

2.40
#B3AA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#B3AA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AA40
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AA40#FFFFFF#000000##000000
##B3AA401.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#BBA946
Tritanopia (blue-blind)
#C09F94
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3aa40;
/* rgb */ color: rgb(179, 170, 64);
/* oklch */ color: oklch(72.5% 0.126 104.5);
Tailwind
colors: {
  custom: {
    50: '#cdc37a',
    500: '#b3aa40',
    950: '#000000',
  },
}
SCSS
$custom: #b3aa40;
$custom-light: #cdc37a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3aa40",
  "rgb": {
    "r": 179,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 55.304,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72539,
    "c": 0.12638,
    "h": 104.5
  },
  "luminance": 0.38703
}

Semantic roles & 50–950 ramp

primary
#B3AA40
secondary
#8A8FC4
accent
#5BD751
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B3AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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