#B8A745#B8A745

#B8A745 is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.4% C 0.119 H 99.5°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B8A745
RGBrgb(184, 167, 69)
HSLhsl(51, 45%, 50%)
HSVhsv(51, 63%, 72%)
CMYKcmyk(0%, 9.2%, 62.5%, 27.8%)
CIE-LABlab(68.21, -5.76, 51.52)
CIE-LCHlch(68.21, 51.84, 96.37°)
OKLaboklab(72.4% -0.0197 0.1179)
OKLCHoklch(72.4% 0.119 99.5)
XYZxyz(34.6615, 38.2589, 11.1880)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A745 #4556B8
analogous
#B86D45 #B8A745 #90B845
triadic
#B8A745 #45B8A7 #A745B8
tetradic
#B8A745 #45B86D #4556B8 #B84590
square
#B8A745 #45B86D #4556B8 #B84590
split-complementary
#B8A745 #4590B8 #6D45B8
monochromatic
#5F5624 #8B7F34 #B8A745 #CABC71 #DAD19D

Accessibility & contrast

On white

2.43
#B8A745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B8A745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A745
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A745#FFFFFF#000000##000000
##B8A7451.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33A
Deuteranopia (green-blind)
#BBA94A
Tritanopia (blue-blind)
#C59C92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a745;
/* rgb */ color: rgb(184, 167, 69);
/* oklch */ color: oklch(72.4% 0.119 99.5);
Tailwind
colors: {
  custom: {
    50: '#d0c07d',
    500: '#b8a745',
    950: '#000000',
  },
}
SCSS
$custom: #b8a745;
$custom-light: #d0c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a745",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 69
  },
  "hsl": {
    "h": 51.13,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.724,
    "c": 0.11949,
    "h": 99.5
  },
  "luminance": 0.38257
}

Semantic roles & 50–950 ramp

primary
#B8A745
secondary
#929AC7
accent
#66D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A745

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

Preview Lab → · Contrast checker → · Palette generator →

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