#B4AF37#B4AF37

#B4AF37 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.6% C 0.138 H 107.0°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#B4AF37
RGBrgb(180, 175, 55)
HSLhsl(58, 53%, 46%)
HSVhsv(58, 69%, 71%)
CMYKcmyk(0%, 2.8%, 69.4%, 29.4%)
CIE-LABlab(69.92, -12.51, 59.06)
CIE-LCHlch(69.92, 60.37, 101.96°)
OKLaboklab(73.64% -0.0402 0.1317)
OKLCHoklch(73.64% 0.138 107)
XYZxyz(34.8433, 40.6403, 9.6226)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AF37 #373CB4
analogous
#B47037 #B4AF37 #7AB437
triadic
#B4AF37 #37B4AF #AF37B4
tetradic
#B4AF37 #37B470 #373CB4 #B4377A
square
#B4AF37 #37B470 #373CB4 #B4377A
split-complementary
#B4AF37 #377AB4 #7037B4
monochromatic
#56541A #858129 #B4AF37 #CDC85B #DBD88A

Accessibility & contrast

On white

2.30
#B4AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#B4AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AF37
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AF37#FFFFFF#000000##000000
##B4AF371.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA824
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#C1A497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4af37;
/* rgb */ color: rgb(180, 175, 55);
/* oklch */ color: oklch(73.6% 0.138 107.0);
Tailwind
colors: {
  custom: {
    50: '#cec675',
    500: '#b4af37',
    950: '#000000',
  },
}
SCSS
$custom: #b4af37;
$custom-light: #cec675;
$custom-dark: #000000;
JSON
{
  "hex": "#b4af37",
  "rgb": {
    "r": 180,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 57.6,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73642,
    "c": 0.13768,
    "h": 107
  },
  "luminance": 0.40639
}

Semantic roles & 50–950 ramp

primary
#B4AF37
secondary
#8184C6
accent
#51DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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