#B8A23C#B8A23C

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

Color values

HEX#B8A23C
RGBrgb(184, 162, 60)
HSLhsl(49, 51%, 48%)
HSVhsv(49, 67%, 72%)
CMYKcmyk(0%, 12%, 67.4%, 27.8%)
CIE-LABlab(66.79, -3.66, 53.96)
CIE-LCHlch(66.79, 54.08, 93.88°)
OKLaboklab(71.25% -0.0148 0.1216)
OKLCHoklch(71.25% 0.123 96.9)
XYZxyz(33.5047, 36.3589, 9.5273)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A23C #3C52B8
analogous
#B8643C #B8A23C #90B83C
triadic
#B8A23C #3CB8A2 #A23CB8
tetradic
#B8A23C #3CB864 #3C52B8 #B83C90
square
#B8A23C #3CB864 #3C52B8 #B83C90
split-complementary
#B8A23C #3C90B8 #643CB8
monochromatic
#5C511E #8A792D #B8A23C #CDBA65 #DCCF93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A23C#FFFFFF#000000##000000
##B8A23C1.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)
#B29E2F
Deuteranopia (green-blind)
#B8A641
Tritanopia (blue-blind)
#C6968D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a23c;
/* rgb */ color: rgb(184, 162, 60);
/* oklch */ color: oklch(71.3% 0.123 96.9);
Tailwind
colors: {
  custom: {
    50: '#d1bd77',
    500: '#b8a23c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a23c;
$custom-light: #d1bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a23c",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 49.355,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71252,
    "c": 0.12252,
    "h": 96.9
  },
  "luminance": 0.36357
}

Semantic roles & 50–950 ramp

primary
#B8A23C
secondary
#8994C7
accent
#66DA4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A23C

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

Preview Lab → · Contrast checker → · Palette generator →

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