#B8A241#B8A241

#B8A241 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.119 H 96.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B8A241
RGBrgb(184, 162, 65)
HSLhsl(49, 48%, 49%)
HSVhsv(49, 65%, 72%)
CMYKcmyk(0%, 12%, 64.7%, 27.8%)
CIE-LABlab(66.84, -3.36, 51.82)
CIE-LCHlch(66.84, 51.93, 93.71°)
OKLaboklab(71.3% -0.0133 0.1179)
OKLCHoklch(71.3% 0.119 96.4)
XYZxyz(33.6431, 36.4143, 10.2566)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A241 #4157B8
analogous
#B86741 #B8A241 #93B841
triadic
#B8A241 #41B8A2 #A241B8
tetradic
#B8A241 #41B867 #4157B8 #B84193
square
#B8A241 #41B867 #4157B8 #B84193
split-complementary
#B8A241 #4193B8 #6741B8
monochromatic
#5E5221 #8B7A31 #B8A241 #CBB96B #DBCF99

Accessibility & contrast

On white

2.54
#B8A241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B8A241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A241
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A241#FFFFFF#000000##000000
##B8A2411.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E36
Deuteranopia (green-blind)
#B7A646
Tritanopia (blue-blind)
#C6968D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a241;
/* rgb */ color: rgb(184, 162, 65);
/* oklch */ color: oklch(71.3% 0.119 96.4);
Tailwind
colors: {
  custom: {
    50: '#d0bd7a',
    500: '#b8a241',
    950: '#000000',
  },
}
SCSS
$custom: #b8a241;
$custom-light: #d0bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a241",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 65
  },
  "hsl": {
    "h": 48.908,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71299,
    "c": 0.11866,
    "h": 96.4
  },
  "luminance": 0.36413
}

Semantic roles & 50–950 ramp

primary
#B8A241
secondary
#8E99C7
accent
#69D750
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A241

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

Preview Lab → · Contrast checker → · Palette generator →

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