#B8A24E#B8A24E

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

Color values

HEX#B8A24E
RGBrgb(184, 162, 78)
HSLhsl(48, 43%, 51%)
HSVhsv(48, 58%, 72%)
CMYKcmyk(0%, 12%, 57.6%, 27.8%)
CIE-LABlab(66.96, -2.44, 45.91)
CIE-LCHlch(66.96, 45.97, 93.04°)
OKLaboklab(71.44% -0.0091 0.107)
OKLCHoklch(71.44% 0.107 94.8)
XYZxyz(34.0640, 36.5826, 12.4731)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A24E #4E64B8
analogous
#B86D4E #B8A24E #99B84E
triadic
#B8A24E #4EB8A2 #A24EB8
tetradic
#B8A24E #4EB86D #4E64B8 #B84E99
square
#B8A24E #4EB86D #4E64B8 #B84E99
split-complementary
#B8A24E #4E99B8 #6D4EB8
monochromatic
#645728 #8F7E39 #B8A24E #CAB97A #DBD0A5

Accessibility & contrast

On white

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

On black

8.32
#B8A24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A24E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A24E#FFFFFF#000000##000000
##B8A24E1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a24e;
/* rgb */ color: rgb(184, 162, 78);
/* oklch */ color: oklch(71.4% 0.107 94.8);
Tailwind
colors: {
  custom: {
    50: '#d0bd82',
    500: '#b8a24e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a24e;
$custom-light: #d0bd82;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a24e",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 78
  },
  "hsl": {
    "h": 47.547,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.71441,
    "c": 0.1074,
    "h": 94.8
  },
  "luminance": 0.36581
}

Semantic roles & 50–950 ramp

primary
#B8A24E
secondary
#9AA3C8
accent
#6FD355
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A24E

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

Preview Lab → · Contrast checker → · Palette generator →

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