#B8A245#B8A245

#B8A245 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.115 H 96.0°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B8A245
RGBrgb(184, 162, 69)
HSLhsl(49, 45%, 50%)
HSVhsv(49, 63%, 72%)
CMYKcmyk(0%, 12%, 62.5%, 27.8%)
CIE-LABlab(66.87, -3.10, 50.05)
CIE-LCHlch(66.87, 50.15, 93.54°)
OKLaboklab(71.34% -0.0121 0.1147)
OKLCHoklch(71.34% 0.115 96)
XYZxyz(33.7631, 36.4623, 10.8886)
Luminance0.3646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A245 #455BB8
analogous
#B86945 #B8A245 #95B845
triadic
#B8A245 #45B8A2 #A245B8
tetradic
#B8A245 #45B869 #455BB8 #B84595
square
#B8A245 #45B869 #455BB8 #B84595
split-complementary
#B8A245 #4595B8 #6945B8
monochromatic
#5F5424 #8B7B34 #B8A245 #CAB971 #DACF9D

Accessibility & contrast

On white

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

On black

8.29
#B8A245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A245
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A245#FFFFFF#000000##000000
##B8A2451.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3B
Deuteranopia (green-blind)
#B7A649
Tritanopia (blue-blind)
#C6978E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a245;
/* rgb */ color: rgb(184, 162, 69);
/* oklch */ color: oklch(71.3% 0.115 96.0);
Tailwind
colors: {
  custom: {
    50: '#d0bd7c',
    500: '#b8a245',
    950: '#000000',
  },
}
SCSS
$custom: #b8a245;
$custom-light: #d0bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a245",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 48.522,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71339,
    "c": 0.11537,
    "h": 96
  },
  "luminance": 0.36461
}

Semantic roles & 50–950 ramp

primary
#B8A245
secondary
#929CC7
accent
#6CD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A245

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

Preview Lab → · Contrast checker → · Palette generator →

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