#B4AF4D#B4AF4D

#B4AF4D is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.8% C 0.120 H 106.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#B4AF4D
RGBrgb(180, 175, 77)
HSLhsl(57, 41%, 50%)
HSVhsv(57, 57%, 71%)
CMYKcmyk(0%, 2.8%, 57.2%, 29.4%)
CIE-LABlab(70.11, -11.09, 49.86)
CIE-LCHlch(70.11, 51.08, 102.54°)
OKLaboklab(73.85% -0.0337 0.1155)
OKLCHoklch(73.85% 0.12 106.3)
XYZxyz(35.4930, 40.9002, 13.0446)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AF4D #4D52B4
analogous
#B47B4D #B4AF4D #86B44D
triadic
#B4AF4D #4DB4AF #AF4DB4
tetradic
#B4AF4D #4DB47B #4D52B4 #B44D86
square
#B4AF4D #4DB47B #4D52B4 #B44D86
split-complementary
#B4AF4D #4D86B4 #7B4DB4
monochromatic
#5F5C28 #8A863A #B4AF4D #C6C278 #D8D6A3

Accessibility & contrast

On white

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

On black

9.18
#B4AF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AF4D
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AF4D#FFFFFF#000000##000000
##B4AF4D1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4af4d;
/* rgb */ color: rgb(180, 175, 77);
/* oklch */ color: oklch(73.8% 0.120 106.3);
Tailwind
colors: {
  custom: {
    50: '#cdc682',
    500: '#b4af4d',
    950: '#000000',
  },
}
SCSS
$custom: #b4af4d;
$custom-light: #cdc682;
$custom-dark: #000000;
JSON
{
  "hex": "#b4af4d",
  "rgb": {
    "r": 180,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 57.087,
    "s": 40.711,
    "l": 50.392
  },
  "oklch": {
    "l": 0.73846,
    "c": 0.12031,
    "h": 106.3
  },
  "luminance": 0.40899
}

Semantic roles & 50–950 ramp

primary
#B4AF4D
secondary
#979AC5
accent
#5DD157
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4AF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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