#B4AF4E#B4AF4E

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

Color values

HEX#B4AF4E
RGBrgb(180, 175, 78)
HSLhsl(57, 40%, 51%)
HSVhsv(57, 57%, 71%)
CMYKcmyk(0%, 2.8%, 56.7%, 29.4%)
CIE-LABlab(70.12, -11.01, 49.41)
CIE-LCHlch(70.12, 50.62, 102.56°)
OKLaboklab(73.86% -0.0334 0.1146)
OKLCHoklch(73.86% 0.119 106.3)
XYZxyz(35.5286, 40.9144, 13.2320)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AF4E #4E53B4
analogous
#B47C4E #B4AF4E #86B44E
triadic
#B4AF4E #4EB4AF #AF4EB4
tetradic
#B4AF4E #4EB47C #4E53B4 #B44E86
square
#B4AF4E #4EB47C #4E53B4 #B44E86
split-complementary
#B4AF4E #4E86B4 #7C4EB4
monochromatic
#5F5D28 #8A863B #B4AF4E #C6C279 #D8D6A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AF4E#FFFFFF#000000##000000
##B4AF4E1.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)
#BCA944
Deuteranopia (green-blind)
#BFAD53
Tritanopia (blue-blind)
#C0A59A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4af4e;
/* rgb */ color: rgb(180, 175, 78);
/* oklch */ color: oklch(73.9% 0.119 106.3);
Tailwind
colors: {
  custom: {
    50: '#cdc683',
    500: '#b4af4e',
    950: '#000000',
  },
}
SCSS
$custom: #b4af4e;
$custom-light: #cdc683;
$custom-dark: #000000;
JSON
{
  "hex": "#b4af4e",
  "rgb": {
    "r": 180,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 57.059,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73857,
    "c": 0.11941,
    "h": 106.3
  },
  "luminance": 0.40913
}

Semantic roles & 50–950 ramp

primary
#B4AF4E
secondary
#989AC6
accent
#5DD057
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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