#B4AF3D#B4AF3D

#B4AF3D is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.7% C 0.133 H 106.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#B4AF3D
RGBrgb(180, 175, 61)
HSLhsl(57, 49%, 47%)
HSVhsv(57, 66%, 71%)
CMYKcmyk(0%, 2.8%, 66.1%, 29.4%)
CIE-LABlab(69.97, -12.18, 56.72)
CIE-LCHlch(69.97, 58.01, 102.12°)
OKLaboklab(73.69% -0.0386 0.1278)
OKLCHoklch(73.69% 0.133 106.8)
XYZxyz(34.9959, 40.7013, 10.4267)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AF3D #3D42B4
analogous
#B4743D #B4AF3D #7EB43D
triadic
#B4AF3D #3DB4AF #AF3DB4
tetradic
#B4AF3D #3DB474 #3D42B4 #B43D7E
square
#B4AF3D #3DB474 #3D42B4 #B43D7E
split-complementary
#B4AF3D #3D7EB4 #743DB4
monochromatic
#59561E #86832E #B4AF3D #CAC664 #DAD792

Accessibility & contrast

On white

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

On black

9.14
#B4AF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AF3D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AF3D#FFFFFF#000000##000000
##B4AF3D1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82D
Deuteranopia (green-blind)
#C0AD44
Tritanopia (blue-blind)
#C1A498
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4af3d;
/* rgb */ color: rgb(180, 175, 61);
/* oklch */ color: oklch(73.7% 0.133 106.8);
Tailwind
colors: {
  custom: {
    50: '#cec679',
    500: '#b4af3d',
    950: '#000000',
  },
}
SCSS
$custom: #b4af3d;
$custom-light: #cec679;
$custom-dark: #000000;
JSON
{
  "hex": "#b4af3d",
  "rgb": {
    "r": 180,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 57.479,
    "s": 49.378,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7369,
    "c": 0.13346,
    "h": 106.8
  },
  "luminance": 0.407
}

Semantic roles & 50–950 ramp

primary
#B4AF3D
secondary
#888AC5
accent
#55D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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