#B3AD31#B3AD31

#B3AD31 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.1% C 0.140 H 106.6°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#B3AD31
RGBrgb(179, 173, 49)
HSLhsl(57, 57%, 45%)
HSVhsv(57, 73%, 70%)
CMYKcmyk(0%, 3.4%, 72.6%, 29.8%)
CIE-LABlab(69.25, -12.21, 60.61)
CIE-LCHlch(69.25, 61.83, 101.39°)
OKLaboklab(73.07% -0.0399 0.1339)
OKLCHoklch(73.07% 0.14 106.6)
XYZxyz(34.0897, 39.6938, 8.7711)
Luminance0.3969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AD31 #3137B3
analogous
#B36C31 #B3AD31 #78B331
triadic
#B3AD31 #31B3AD #AD31B3
tetradic
#B3AD31 #31B36C #3137B3 #B33178
square
#B3AD31 #31B36C #3137B3 #B33178
split-complementary
#B3AD31 #3178B3 #6C31B3
monochromatic
#535017 #837F24 #B3AD31 #D0CA52 #DDD982

Accessibility & contrast

On white

2.35
#B3AD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#B3AD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AD31
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AD31#FFFFFF#000000##000000
##B3AD311.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61A
Deuteranopia (green-blind)
#BFAB3A
Tritanopia (blue-blind)
#C0A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b3ad31;
/* rgb */ color: rgb(179, 173, 49);
/* oklch */ color: oklch(73.1% 0.140 106.6);
Tailwind
colors: {
  custom: {
    50: '#cdc572',
    500: '#b3ad31',
    950: '#000000',
  },
}
SCSS
$custom: #b3ad31;
$custom-light: #cdc572;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ad31",
  "rgb": {
    "r": 179,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 57.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73073,
    "c": 0.13974,
    "h": 106.6
  },
  "luminance": 0.39693
}

Semantic roles & 50–950 ramp

primary
#B3AD31
secondary
#7A7DC6
accent
#4FE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AD31

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

Preview Lab → · Contrast checker → · Palette generator →

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