#B9AF4E#B9AF4E

#B9AF4E is a light, moderate yellow. Relative luminance 0.415; OKLCH L 74.3% C 0.119 H 103.4°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B9AF4E
RGBrgb(185, 175, 78)
HSLhsl(54, 43%, 52%)
HSVhsv(54, 58%, 73%)
CMYKcmyk(0%, 5.4%, 57.8%, 27.5%)
CIE-LABlab(70.54, -8.89, 50.01)
CIE-LCHlch(70.54, 50.79, 100.08°)
OKLaboklab(74.3% -0.0277 0.1158)
OKLCHoklch(74.3% 0.119 103.4)
XYZxyz(36.7139, 41.5256, 13.2876)
Luminance0.4152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AF4E #4E58B9
analogous
#B97A4E #B9AF4E #8EB94E
triadic
#B9AF4E #4EB9AF #AF4EB9
tetradic
#B9AF4E #4EB97A #4E58B9 #B94E8E
square
#B9AF4E #4EB97A #4E58B9 #B94E8E
split-complementary
#B9AF4E #4E8EB9 #7A4EB9
monochromatic
#655F28 #918839 #B9AF4E #CAC37A #DCD7A6

Accessibility & contrast

On white

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

On black

9.30
#B9AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AF4E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AF4E#FFFFFF#000000##000000
##B9AF4E1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9af4e;
/* rgb */ color: rgb(185, 175, 78);
/* oklch */ color: oklch(74.3% 0.119 103.4);
Tailwind
colors: {
  custom: {
    50: '#d0c683',
    500: '#b9af4e',
    950: '#000000',
  },
}
SCSS
$custom: #b9af4e;
$custom-light: #d0c683;
$custom-dark: #000000;
JSON
{
  "hex": "#b9af4e",
  "rgb": {
    "r": 185,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 54.393,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74299,
    "c": 0.11907,
    "h": 103.4
  },
  "luminance": 0.41524
}

Semantic roles & 50–950 ramp

primary
#B9AF4E
secondary
#9A9EC9
accent
#61D355
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B9AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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