#B4AF36#B4AF36

#B4AF36 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#B4AF36
RGBrgb(180, 175, 54)
HSLhsl(58, 54%, 46%)
HSVhsv(58, 70%, 71%)
CMYKcmyk(0%, 2.8%, 70%, 29.4%)
CIE-LABlab(69.92, -12.56, 59.43)
CIE-LCHlch(69.92, 60.75, 101.94°)
OKLaboklab(73.63% -0.0404 0.1323)
OKLCHoklch(73.63% 0.138 107)
XYZxyz(34.8195, 40.6308, 9.4977)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AF36 #363BB4
analogous
#B47036 #B4AF36 #7AB436
triadic
#B4AF36 #36B4AF #AF36B4
tetradic
#B4AF36 #36B470 #363BB4 #B4367A
square
#B4AF36 #36B470 #363BB4 #B4367A
split-complementary
#B4AF36 #367AB4 #7036B4
monochromatic
#56531A #858128 #B4AF36 #CDC95A #DCD889

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AF36#FFFFFF#000000##000000
##B4AF361.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)
#BEA823
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#C1A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4af36;
/* rgb */ color: rgb(180, 175, 54);
/* oklch */ color: oklch(73.6% 0.138 107.0);
Tailwind
colors: {
  custom: {
    50: '#cec675',
    500: '#b4af36',
    950: '#000000',
  },
}
SCSS
$custom: #b4af36;
$custom-light: #cec675;
$custom-dark: #000000;
JSON
{
  "hex": "#b4af36",
  "rgb": {
    "r": 180,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 57.619,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73634,
    "c": 0.13834,
    "h": 107
  },
  "luminance": 0.4063
}

Semantic roles & 50–950 ramp

primary
#B4AF36
secondary
#8083C6
accent
#50DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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