#B8A236#B8A236

#B8A236 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.127 H 97.4°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#B8A236
RGBrgb(184, 162, 54)
HSLhsl(50, 55%, 47%)
HSVhsv(50, 71%, 72%)
CMYKcmyk(0%, 12%, 70.7%, 27.8%)
CIE-LABlab(66.75, -3.99, 56.40)
CIE-LCHlch(66.75, 56.54, 94.05°)
OKLaboklab(71.2% -0.0164 0.1258)
OKLCHoklch(71.2% 0.127 97.4)
XYZxyz(33.3550, 36.2990, 8.7388)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A236 #364CB8
analogous
#B86136 #B8A236 #8DB836
triadic
#B8A236 #36B8A2 #A236B8
tetradic
#B8A236 #36B861 #364CB8 #B8368D
square
#B8A236 #36B861 #364CB8 #B8368D
split-complementary
#B8A236 #368DB8 #6136B8
monochromatic
#594F1A #897828 #B8A236 #CFBC5C #DDCF8B

Accessibility & contrast

On white

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

On black

8.26
#B8A236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A236
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A236#FFFFFF#000000##000000
##B8A2361.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E26
Deuteranopia (green-blind)
#B8A63C
Tritanopia (blue-blind)
#C6968C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a236;
/* rgb */ color: rgb(184, 162, 54);
/* oklch */ color: oklch(71.2% 0.127 97.4);
Tailwind
colors: {
  custom: {
    50: '#d1bd74',
    500: '#b8a236',
    950: '#000000',
  },
}
SCSS
$custom: #b8a236;
$custom-light: #d1bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a236",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 49.846,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71201,
    "c": 0.12682,
    "h": 97.4
  },
  "luminance": 0.36297
}

Semantic roles & 50–950 ramp

primary
#B8A236
secondary
#828EC7
accent
#63DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8A236

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

Preview Lab → · Contrast checker → · Palette generator →

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