#B8A24C#B8A24C

#B8A24C is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.109 H 95.1°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B8A24C
RGBrgb(184, 162, 76)
HSLhsl(48, 43%, 51%)
HSVhsv(48, 59%, 72%)
CMYKcmyk(0%, 12%, 58.7%, 27.8%)
CIE-LABlab(66.94, -2.59, 46.84)
CIE-LCHlch(66.94, 46.92, 93.17°)
OKLaboklab(71.42% -0.0098 0.1088)
OKLCHoklch(71.42% 0.109 95.1)
XYZxyz(33.9934, 36.5544, 12.1012)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A24C #4C62B8
analogous
#B86C4C #B8A24C #98B84C
triadic
#B8A24C #4CB8A2 #A24CB8
tetradic
#B8A24C #4CB86C #4C62B8 #B84C98
square
#B8A24C #4CB86C #4C62B8 #B84C98
split-complementary
#B8A24C #4C98B8 #6C4CB8
monochromatic
#635627 #8E7D38 #B8A24C #C9B978 #DBD0A4

Accessibility & contrast

On white

2.53
#B8A24C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B8A24C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A24C
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A24C#FFFFFF#000000##000000
##B8A24C1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F43
Deuteranopia (green-blind)
#B6A650
Tritanopia (blue-blind)
#C5978F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a24c;
/* rgb */ color: rgb(184, 162, 76);
/* oklch */ color: oklch(71.4% 0.109 95.1);
Tailwind
colors: {
  custom: {
    50: '#d0bd81',
    500: '#b8a24c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a24c;
$custom-light: #d0bd81;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a24c",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 76
  },
  "hsl": {
    "h": 47.778,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.71417,
    "c": 0.10924,
    "h": 95.1
  },
  "luminance": 0.36553
}

Semantic roles & 50–950 ramp

primary
#B8A24C
secondary
#98A2C8
accent
#6FD355
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A24C

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

Preview Lab → · Contrast checker → · Palette generator →

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