#B8AF4E#B8AF4E

#B8AF4E is a light, moderate yellow. Relative luminance 0.414; OKLCH L 74.2% C 0.119 H 104.0°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#B8AF4E
RGBrgb(184, 175, 78)
HSLhsl(55, 43%, 51%)
HSVhsv(55, 58%, 72%)
CMYKcmyk(0%, 4.9%, 57.6%, 27.8%)
CIE-LABlab(70.46, -9.31, 49.89)
CIE-LCHlch(70.46, 50.75, 100.58°)
OKLaboklab(74.21% -0.0288 0.1156)
OKLCHoklch(74.21% 0.119 104)
XYZxyz(36.4735, 41.4016, 13.2763)
Luminance0.4140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AF4E #4E57B8
analogous
#B87A4E #B8AF4E #8CB84E
triadic
#B8AF4E #4EB8AF #AF4EB8
tetradic
#B8AF4E #4EB87A #4E57B8 #B84E8C
square
#B8AF4E #4EB87A #4E57B8 #B84E8C
split-complementary
#B8AF4E #4E8CB8 #7A4EB8
monochromatic
#645F28 #8F8839 #B8AF4E #CAC37A #DBD6A5

Accessibility & contrast

On white

2.26
#B8AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#B8AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AF4E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AF4E#FFFFFF#000000##000000
##B8AF4E1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA44
Deuteranopia (green-blind)
#C0AF53
Tritanopia (blue-blind)
#C5A49A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8af4e;
/* rgb */ color: rgb(184, 175, 78);
/* oklch */ color: oklch(74.2% 0.119 104.0);
Tailwind
colors: {
  custom: {
    50: '#d0c683',
    500: '#b8af4e',
    950: '#000000',
  },
}
SCSS
$custom: #b8af4e;
$custom-light: #d0c683;
$custom-dark: #000000;
JSON
{
  "hex": "#b8af4e",
  "rgb": {
    "r": 184,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 54.906,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7421,
    "c": 0.11911,
    "h": 104
  },
  "luminance": 0.414
}

Semantic roles & 50–950 ramp

primary
#B8AF4E
secondary
#9A9EC8
accent
#60D355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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