#B8A93C#B8A93C

#B8A93C is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.128 H 101.4°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B8A93C
RGBrgb(184, 169, 60)
HSLhsl(53, 51%, 48%)
HSVhsv(53, 67%, 72%)
CMYKcmyk(0%, 8.2%, 67.4%, 27.8%)
CIE-LABlab(68.67, -7.37, 55.91)
CIE-LCHlch(68.67, 56.39, 97.51°)
OKLaboklab(72.74% -0.0253 0.1258)
OKLCHoklch(72.74% 0.128 101.4)
XYZxyz(34.7722, 38.8940, 9.9498)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A93C #3C4BB8
analogous
#B86B3C #B8A93C #89B83C
triadic
#B8A93C #3CB8A9 #A93CB8
tetradic
#B8A93C #3CB86B #3C4BB8 #B83C89
square
#B8A93C #3CB86B #3C4BB8 #B83C89
split-complementary
#B8A93C #3C89B8 #6B3CB8
monochromatic
#5C541E #8A7F2D #B8A93C #CDC065 #DCD393

Accessibility & contrast

On white

2.39
#B8A93C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B8A93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A93C
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A93C#FFFFFF#000000##000000
##B8A93C1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42D
Deuteranopia (green-blind)
#BDAA42
Tritanopia (blue-blind)
#C69D93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a93c;
/* rgb */ color: rgb(184, 169, 60);
/* oklch */ color: oklch(72.7% 0.128 101.4);
Tailwind
colors: {
  custom: {
    50: '#d1c278',
    500: '#b8a93c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a93c;
$custom-light: #d1c278;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a93c",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 60
  },
  "hsl": {
    "h": 52.742,
    "s": 50.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72743,
    "c": 0.12829,
    "h": 101.4
  },
  "luminance": 0.38893
}

Semantic roles & 50–950 ramp

primary
#B8A93C
secondary
#8990C7
accent
#5FDA4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A93C

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

Preview Lab → · Contrast checker → · Palette generator →

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