#B8A23E#B8A23E

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

Color values

HEX#B8A23E
RGBrgb(184, 162, 62)
HSLhsl(49, 50%, 48%)
HSVhsv(49, 66%, 72%)
CMYKcmyk(0%, 12%, 66.3%, 27.8%)
CIE-LABlab(66.81, -3.54, 53.11)
CIE-LCHlch(66.81, 53.23, 93.82°)
OKLaboklab(71.27% -0.0142 0.1202)
OKLCHoklch(71.27% 0.121 96.7)
XYZxyz(33.5585, 36.3805, 9.8110)
Luminance0.3638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A23E #3E54B8
analogous
#B8653E #B8A23E #91B83E
triadic
#B8A23E #3EB8A2 #A23EB8
tetradic
#B8A23E #3EB865 #3E54B8 #B83E91
square
#B8A23E #3EB865 #3E54B8 #B83E91
split-complementary
#B8A23E #3E91B8 #653EB8
monochromatic
#5C511F #8A7A2F #B8A23E #CCBA67 #DBCF95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A23E#FFFFFF#000000##000000
##B8A23E1.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)
#B29E32
Deuteranopia (green-blind)
#B7A643
Tritanopia (blue-blind)
#C6968D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a23e;
/* rgb */ color: rgb(184, 162, 62);
/* oklch */ color: oklch(71.3% 0.121 96.7);
Tailwind
colors: {
  custom: {
    50: '#d1bd78',
    500: '#b8a23e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a23e;
$custom-light: #d1bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a23e",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 49.18,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7127,
    "c": 0.12102,
    "h": 96.7
  },
  "luminance": 0.36379
}

Semantic roles & 50–950 ramp

primary
#B8A23E
secondary
#8B96C7
accent
#68D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A23E

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

Preview Lab → · Contrast checker → · Palette generator →

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