#B8A64B#B8A64B

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

Color values

HEX#B8A64B
RGBrgb(184, 166, 75)
HSLhsl(50, 43%, 51%)
HSVhsv(50, 59%, 72%)
CMYKcmyk(0%, 9.8%, 59.2%, 27.8%)
CIE-LABlab(68.00, -4.80, 48.52)
CIE-LCHlch(68.00, 48.76, 95.65°)
OKLaboklab(72.25% -0.0162 0.1123)
OKLCHoklch(72.25% 0.113 98.2)
XYZxyz(34.6747, 37.9723, 12.1582)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A64B #4B5DB8
analogous
#B86F4B #B8A64B #93B84B
triadic
#B8A64B #4BB8A6 #A64BB8
tetradic
#B8A64B #4BB86F #4B5DB8 #B84B93
square
#B8A64B #4BB86F #4B5DB8 #B84B93
split-complementary
#B8A64B #4B93B8 #6F4BB8
monochromatic
#625827 #8E8038 #B8A64B #C9BC77 #DBD1A3

Accessibility & contrast

On white

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

On black

8.59
#B8A64B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A64B
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A64B#FFFFFF#000000##000000
##B8A64B1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A242
Deuteranopia (green-blind)
#BAA84F
Tritanopia (blue-blind)
#C59B92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a64b;
/* rgb */ color: rgb(184, 166, 75);
/* oklch */ color: oklch(72.3% 0.113 98.2);
Tailwind
colors: {
  custom: {
    50: '#d0c080',
    500: '#b8a64b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a64b;
$custom-light: #d0c080;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a64b",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 75
  },
  "hsl": {
    "h": 50.092,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72251,
    "c": 0.11344,
    "h": 98.2
  },
  "luminance": 0.37971
}

Semantic roles & 50–950 ramp

primary
#B8A64B
secondary
#979FC8
accent
#6AD355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A64B

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

Preview Lab → · Contrast checker → · Palette generator →

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