#B8A74B#B8A74B

#B8A74B is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.5% C 0.114 H 98.9°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B8A74B
RGBrgb(184, 167, 75)
HSLhsl(51, 43%, 51%)
HSVhsv(51, 59%, 72%)
CMYKcmyk(0%, 9.2%, 59.2%, 27.8%)
CIE-LABlab(68.27, -5.33, 48.82)
CIE-LCHlch(68.27, 49.11, 96.23°)
OKLaboklab(72.46% -0.0178 0.1129)
OKLCHoklch(72.46% 0.114 98.9)
XYZxyz(34.8572, 38.3373, 12.2190)
Luminance0.3834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A74B #4B5CB8
analogous
#B8704B #B8A74B #92B84B
triadic
#B8A74B #4BB8A7 #A74BB8
tetradic
#B8A74B #4BB870 #4B5CB8 #B84B92
square
#B8A74B #4BB870 #4B5CB8 #B84B92
split-complementary
#B8A74B #4B92B8 #704BB8
monochromatic
#625927 #8E8038 #B8A74B #C9BC77 #DBD2A3

Accessibility & contrast

On white

2.42
#B8A74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#B8A74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A74B
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A74B#FFFFFF#000000##000000
##B8A74B1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A341
Deuteranopia (green-blind)
#BAA94F
Tritanopia (blue-blind)
#C59C93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a74b;
/* rgb */ color: rgb(184, 167, 75);
/* oklch */ color: oklch(72.5% 0.114 98.9);
Tailwind
colors: {
  custom: {
    50: '#d0c081',
    500: '#b8a74b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a74b;
$custom-light: #d0c081;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a74b",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 75
  },
  "hsl": {
    "h": 50.642,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72464,
    "c": 0.11431,
    "h": 98.9
  },
  "luminance": 0.38336
}

Semantic roles & 50–950 ramp

primary
#B8A74B
secondary
#979FC8
accent
#68D355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A74B

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

Preview Lab → · Contrast checker → · Palette generator →

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