#B8AE4F#B8AE4F

#B8AE4F is a light, moderate yellow. Relative luminance 0.410; OKLCH L 74.0% C 0.117 H 103.3°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#B8AE4F
RGBrgb(184, 174, 79)
HSLhsl(54, 43%, 52%)
HSVhsv(54, 57%, 72%)
CMYKcmyk(0%, 5.4%, 57.1%, 27.8%)
CIE-LABlab(70.20, -8.72, 49.13)
CIE-LCHlch(70.20, 49.89, 100.06°)
OKLaboklab(74.01% -0.027 0.1141)
OKLCHoklch(74.01% 0.117 103.3)
XYZxyz(36.3157, 41.0282, 13.4019)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AE4F #4F59B8
analogous
#B87A4F #B8AE4F #8EB84F
triadic
#B8AE4F #4FB8AE #AE4FB8
tetradic
#B8AE4F #4FB87A #4F59B8 #B84F8E
square
#B8AE4F #4FB87A #4F59B8 #B84F8E
split-complementary
#B8AE4F #4F8EB8 #7A4FB8
monochromatic
#645E28 #90883A #B8AE4F #CAC27B #DBD6A6

Accessibility & contrast

On white

2.28
#B8AE4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#B8AE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AE4F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AE4F#FFFFFF#000000##000000
##B8AE4F1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA945
Deuteranopia (green-blind)
#BFAE54
Tritanopia (blue-blind)
#C5A399
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8ae4f;
/* rgb */ color: rgb(184, 174, 79);
/* oklch */ color: oklch(74.0% 0.117 103.3);
Tailwind
colors: {
  custom: {
    50: '#d0c584',
    500: '#b8ae4f',
    950: '#000000',
  },
}
SCSS
$custom: #b8ae4f;
$custom-light: #d0c584;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ae4f",
  "rgb": {
    "r": 184,
    "g": 174,
    "b": 79
  },
  "hsl": {
    "h": 54.286,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74006,
    "c": 0.11721,
    "h": 103.3
  },
  "luminance": 0.41027
}

Semantic roles & 50–950 ramp

primary
#B8AE4F
secondary
#9A9FC8
accent
#61D256
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8AE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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