#B8A25D#B8A25D

#B8A25D is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.093 H 92.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#B8A25D
RGBrgb(184, 162, 93)
HSLhsl(45, 39%, 54%)
HSVhsv(45, 49%, 72%)
CMYKcmyk(0%, 12%, 49.5%, 27.8%)
CIE-LABlab(67.14, -1.15, 38.62)
CIE-LCHlch(67.14, 38.64, 91.70°)
OKLaboklab(71.64% -0.0036 0.0925)
OKLCHoklch(71.64% 0.093 92.2)
XYZxyz(34.6644, 36.8228, 15.6354)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A25D #5D73B8
analogous
#B8755D #B8A25D #A0B85D
triadic
#B8A25D #5DB8A2 #A25DB8
tetradic
#B8A25D #5DB875 #5D73B8 #B85DA0
square
#B8A25D #5DB875 #5D73B8 #B85DA0
split-complementary
#B8A25D #5DA0B8 #755DB8
monochromatic
#6B5D2F #968242 #B8A25D #CBBA88 #DDD3B2

Accessibility & contrast

On white

2.51
#B8A25D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#B8A25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A25D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A25D#FFFFFF#000000##000000
##B8A25D1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA057
Deuteranopia (green-blind)
#B5A660
Tritanopia (blue-blind)
#C49892
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a25d;
/* rgb */ color: rgb(184, 162, 93);
/* oklch */ color: oklch(71.6% 0.093 92.2);
Tailwind
colors: {
  custom: {
    50: '#cfbd8c',
    500: '#b8a25d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a25d;
$custom-light: #cfbd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a25d",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 93
  },
  "hsl": {
    "h": 45.495,
    "s": 39.056,
    "l": 54.314
  },
  "oklch": {
    "l": 0.71642,
    "c": 0.09258,
    "h": 92.2
  },
  "luminance": 0.36821
}

Semantic roles & 50–950 ramp

primary
#B8A25D
secondary
#A5AECC
accent
#75CF59
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A25D

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

Preview Lab → · Contrast checker → · Palette generator →

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