#B4AF48#B4AF48

#B4AF48 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.125 H 106.5°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#B4AF48
RGBrgb(180, 175, 72)
HSLhsl(57, 43%, 49%)
HSVhsv(57, 60%, 71%)
CMYKcmyk(0%, 2.8%, 60%, 29.4%)
CIE-LABlab(70.06, -11.46, 52.09)
CIE-LCHlch(70.06, 53.33, 102.41°)
OKLaboklab(73.79% -0.0354 0.1196)
OKLCHoklch(73.79% 0.125 106.5)
XYZxyz(35.3232, 40.8322, 12.1503)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AF48 #484DB4
analogous
#B47948 #B4AF48 #83B448
triadic
#B4AF48 #48B4AF #AF48B4
tetradic
#B4AF48 #48B479 #484DB4 #B44883
square
#B4AF48 #48B479 #484DB4 #B44883
split-complementary
#B4AF48 #4883B4 #7948B4
monochromatic
#5D5A25 #888537 #B4AF48 #C7C372 #D8D69E

Accessibility & contrast

On white

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

On black

9.17
#B4AF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AF48
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AF48#FFFFFF#000000##000000
##B4AF481.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93C
Deuteranopia (green-blind)
#BFAD4E
Tritanopia (blue-blind)
#C0A499
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4af48;
/* rgb */ color: rgb(180, 175, 72);
/* oklch */ color: oklch(73.8% 0.125 106.5);
Tailwind
colors: {
  custom: {
    50: '#cdc67f',
    500: '#b4af48',
    950: '#000000',
  },
}
SCSS
$custom: #b4af48;
$custom-light: #cdc67f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4af48",
  "rgb": {
    "r": 180,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 57.222,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73793,
    "c": 0.12471,
    "h": 106.5
  },
  "luminance": 0.40831
}

Semantic roles & 50–950 ramp

primary
#B4AF48
secondary
#9395C5
accent
#5BD355
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B4AF48

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

Preview Lab → · Contrast checker → · Palette generator →

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