#B8A45F#B8A45F

#B8A45F is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.1% C 0.092 H 93.7°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B8A45F
RGBrgb(184, 164, 95)
HSLhsl(47, 39%, 55%)
HSVhsv(47, 48%, 72%)
CMYKcmyk(0%, 10.9%, 48.4%, 27.8%)
CIE-LABlab(67.70, -2.03, 38.28)
CIE-LCHlch(67.70, 38.33, 93.03°)
OKLaboklab(72.09% -0.006 0.0919)
OKLCHoklch(72.09% 0.092 93.7)
XYZxyz(35.1093, 37.5689, 16.2264)
Luminance0.3757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A45F #5F73B8
analogous
#B8785F #B8A45F #9FB85F
triadic
#B8A45F #5FB8A4 #A45FB8
tetradic
#B8A45F #5FB878 #5F73B8 #B85F9F
square
#B8A45F #5FB878 #5F73B8 #B85F9F
split-complementary
#B8A45F #5F9FB8 #785FB8
monochromatic
#6C5F30 #978443 #B8A45F #CBBC89 #DED4B4

Accessibility & contrast

On white

2.47
#B8A45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B8A45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A45F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A45F#FFFFFF#000000##000000
##B8A45F1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A159
Deuteranopia (green-blind)
#B6A862
Tritanopia (blue-blind)
#C49A93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a45f;
/* rgb */ color: rgb(184, 164, 95);
/* oklch */ color: oklch(72.1% 0.092 93.7);
Tailwind
colors: {
  custom: {
    50: '#cfbe8e',
    500: '#b8a45f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a45f;
$custom-light: #cfbe8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a45f",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 46.517,
    "s": 38.528,
    "l": 54.706
  },
  "oklch": {
    "l": 0.72091,
    "c": 0.09208,
    "h": 93.7
  },
  "luminance": 0.37567
}

Semantic roles & 50–950 ramp

primary
#B8A45F
secondary
#A7AFCC
accent
#74CE59
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A45F

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

Preview Lab → · Contrast checker → · Palette generator →

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