#B8A14F#B8A14F

#B8A14F is a light, moderate yellow. Relative luminance 0.362; OKLCH L 71.2% C 0.106 H 93.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#B8A14F
RGBrgb(184, 161, 79)
HSLhsl(47, 43%, 52%)
HSVhsv(47, 57%, 72%)
CMYKcmyk(0%, 12.5%, 57.1%, 27.8%)
CIE-LABlab(66.71, -1.82, 45.13)
CIE-LCHlch(66.71, 45.16, 92.32°)
OKLaboklab(71.24% -0.0072 0.1055)
OKLCHoklch(71.24% 0.106 93.9)
XYZxyz(33.9247, 36.2462, 12.6049)
Luminance0.3624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A14F #4F66B8
analogous
#B86D4F #B8A14F #9BB84F
triadic
#B8A14F #4FB8A1 #A14FB8
tetradic
#B8A14F #4FB86D #4F66B8 #B84F9B
square
#B8A14F #4FB86D #4F66B8 #B84F9B
split-complementary
#B8A14F #4F9BB8 #6D4FB8
monochromatic
#645728 #907D3A #B8A14F #CAB87B #DBD0A6

Accessibility & contrast

On white

2.55
#B8A14F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#B8A14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A14F
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A14F#FFFFFF#000000##000000
##B8A14F1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E47
Deuteranopia (green-blind)
#B6A552
Tritanopia (blue-blind)
#C5968E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a14f;
/* rgb */ color: rgb(184, 161, 79);
/* oklch */ color: oklch(71.2% 0.106 93.9);
Tailwind
colors: {
  custom: {
    50: '#d0bc83',
    500: '#b8a14f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a14f;
$custom-light: #d0bc83;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a14f",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 79
  },
  "hsl": {
    "h": 46.857,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.71242,
    "c": 0.10569,
    "h": 93.9
  },
  "luminance": 0.36245
}

Semantic roles & 50–950 ramp

primary
#B8A14F
secondary
#9AA4C8
accent
#71D256
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A14F

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

Preview Lab → · Contrast checker → · Palette generator →

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