#B8A24F#B8A24F

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

Color values

HEX#B8A24F
RGBrgb(184, 162, 79)
HSLhsl(47, 43%, 52%)
HSVhsv(47, 57%, 72%)
CMYKcmyk(0%, 12%, 57.1%, 27.8%)
CIE-LABlab(66.97, -2.36, 45.43)
CIE-LCHlch(66.97, 45.49, 92.97°)
OKLaboklab(71.45% -0.0087 0.1061)
OKLCHoklch(71.45% 0.106 94.7)
XYZxyz(34.1001, 36.5971, 12.6634)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A24F #4F65B8
analogous
#B86E4F #B8A24F #99B84F
triadic
#B8A24F #4FB8A2 #A24FB8
tetradic
#B8A24F #4FB86E #4F65B8 #B84F99
square
#B8A24F #4FB86E #4F65B8 #B84F99
split-complementary
#B8A24F #4F99B8 #6E4FB8
monochromatic
#645828 #907E3A #B8A24F #CAB97B #DBD0A6

Accessibility & contrast

On white

2.52
#B8A24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A24F#FFFFFF#000000##000000
##B8A24F1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a24f;
/* rgb */ color: rgb(184, 162, 79);
/* oklch */ color: oklch(71.5% 0.106 94.7);
Tailwind
colors: {
  custom: {
    50: '#d0bd83',
    500: '#b8a24f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a24f;
$custom-light: #d0bd83;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a24f",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 79
  },
  "hsl": {
    "h": 47.429,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.71453,
    "c": 0.10647,
    "h": 94.7
  },
  "luminance": 0.36596
}

Semantic roles & 50–950 ramp

primary
#B8A24F
secondary
#9AA4C8
accent
#70D256
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A24F

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

Preview Lab → · Contrast checker → · Palette generator →

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