#B8A23D#B8A23D

#B8A23D is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.122 H 96.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B8A23D
RGBrgb(184, 162, 61)
HSLhsl(49, 50%, 48%)
HSVhsv(49, 67%, 72%)
CMYKcmyk(0%, 12%, 66.8%, 27.8%)
CIE-LABlab(66.80, -3.60, 53.54)
CIE-LCHlch(66.80, 53.66, 93.85°)
OKLaboklab(71.26% -0.0145 0.1209)
OKLCHoklch(71.26% 0.122 96.8)
XYZxyz(33.5313, 36.3696, 9.6678)
Luminance0.3637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A23D #3D53B8
analogous
#B8643D #B8A23D #90B83D
triadic
#B8A23D #3DB8A2 #A23DB8
tetradic
#B8A23D #3DB864 #3D53B8 #B83D90
square
#B8A23D #3DB864 #3D53B8 #B83D90
split-complementary
#B8A23D #3D90B8 #643DB8
monochromatic
#5C511F #8A7A2E #B8A23D #CCBA66 #DBCF94

Accessibility & contrast

On white

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

On black

8.27
#B8A23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A23D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A23D#FFFFFF#000000##000000
##B8A23D1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E30
Deuteranopia (green-blind)
#B7A642
Tritanopia (blue-blind)
#C6968D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a23d;
/* rgb */ color: rgb(184, 162, 61);
/* oklch */ color: oklch(71.3% 0.122 96.8);
Tailwind
colors: {
  custom: {
    50: '#d1bd78',
    500: '#b8a23d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a23d;
$custom-light: #d1bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a23d",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 49.268,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71261,
    "c": 0.12178,
    "h": 96.8
  },
  "luminance": 0.36368
}

Semantic roles & 50–950 ramp

primary
#B8A23D
secondary
#8A95C7
accent
#67DA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A23D

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

Preview Lab → · Contrast checker → · Palette generator →

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