#B8A64F#B8A64F

#B8A64F is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.110 H 97.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#B8A64F
RGBrgb(184, 166, 79)
HSLhsl(50, 43%, 52%)
HSVhsv(50, 57%, 72%)
CMYKcmyk(0%, 9.8%, 57.1%, 27.8%)
CIE-LABlab(68.04, -4.50, 46.67)
CIE-LCHlch(68.04, 46.88, 95.50°)
OKLaboklab(72.3% -0.0149 0.1088)
OKLCHoklch(72.3% 0.11 97.8)
XYZxyz(34.8160, 38.0288, 12.9020)
Luminance0.3803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A64F #4F61B8
analogous
#B8724F #B8A64F #96B84F
triadic
#B8A64F #4FB8A6 #A64FB8
tetradic
#B8A64F #4FB872 #4F61B8 #B84F96
square
#B8A64F #4FB872 #4F61B8 #B84F96
split-complementary
#B8A64F #4F96B8 #724FB8
monochromatic
#645A28 #90813A #B8A64F #CABC7B #DBD2A6

Accessibility & contrast

On white

2.44
#B8A64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#B8A64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A64F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A64F#FFFFFF#000000##000000
##B8A64F1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A246
Deuteranopia (green-blind)
#B9A953
Tritanopia (blue-blind)
#C59B93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a64f;
/* rgb */ color: rgb(184, 166, 79);
/* oklch */ color: oklch(72.3% 0.110 97.8);
Tailwind
colors: {
  custom: {
    50: '#d0c083',
    500: '#b8a64f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a64f;
$custom-light: #d0c083;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a64f",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 79
  },
  "hsl": {
    "h": 49.714,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72298,
    "c": 0.10978,
    "h": 97.8
  },
  "luminance": 0.38027
}

Semantic roles & 50–950 ramp

primary
#B8A64F
secondary
#9AA2C8
accent
#6BD256
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A64F

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

Preview Lab → · Contrast checker → · Palette generator →

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