#B4AF50#B4AF50

#B4AF50 is a light, moderate yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.118 H 106.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#B4AF50
RGBrgb(180, 175, 80)
HSLhsl(57, 40%, 51%)
HSVhsv(57, 56%, 71%)
CMYKcmyk(0%, 2.8%, 55.6%, 29.4%)
CIE-LABlab(70.14, -10.85, 48.50)
CIE-LCHlch(70.14, 49.70, 102.61°)
OKLaboklab(73.88% -0.0327 0.1129)
OKLCHoklch(73.88% 0.118 106.2)
XYZxyz(35.6014, 40.9435, 13.6154)
Luminance0.4094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AF50 #5055B4
analogous
#B47D50 #B4AF50 #87B450
triadic
#B4AF50 #50B4AF #AF50B4
tetradic
#B4AF50 #50B47D #5055B4 #B45087
square
#B4AF50 #50B47D #5055B4 #B45087
split-complementary
#B4AF50 #5087B4 #7D50B4
monochromatic
#605E29 #8B873C #B4AF50 #C6C37B #D9D6A6

Accessibility & contrast

On white

2.29
#B4AF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#B4AF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AF50
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AF50#FFFFFF#000000##000000
##B4AF501.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA946
Deuteranopia (green-blind)
#BFAD55
Tritanopia (blue-blind)
#C0A59A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4af50;
/* rgb */ color: rgb(180, 175, 80);
/* oklch */ color: oklch(73.9% 0.118 106.2);
Tailwind
colors: {
  custom: {
    50: '#cdc684',
    500: '#b4af50',
    950: '#000000',
  },
}
SCSS
$custom: #b4af50;
$custom-light: #cdc684;
$custom-dark: #000000;
JSON
{
  "hex": "#b4af50",
  "rgb": {
    "r": 180,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 57,
    "s": 40,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7388,
    "c": 0.11756,
    "h": 106.2
  },
  "luminance": 0.40942
}

Semantic roles & 50–950 ramp

primary
#B4AF50
secondary
#9A9CC6
accent
#5ED058
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4AF50

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

Preview Lab → · Contrast checker → · Palette generator →

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