#B7A93D#B7A93D

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

Color values

HEX#B7A93D
RGBrgb(183, 169, 61)
HSLhsl(53, 50%, 48%)
HSVhsv(53, 67%, 72%)
CMYKcmyk(0%, 7.7%, 66.7%, 28.2%)
CIE-LABlab(68.59, -7.75, 55.38)
CIE-LCHlch(68.59, 55.92, 97.97°)
OKLaboklab(72.66% -0.0262 0.1248)
OKLCHoklch(72.66% 0.128 101.9)
XYZxyz(34.5601, 38.7816, 10.0791)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A93D #3D4BB7
analogous
#B76C3D #B7A93D #88B73D
triadic
#B7A93D #3DB7A9 #A93DB7
tetradic
#B7A93D #3DB76C #3D4BB7 #B73D88
square
#B7A93D #3DB76C #3D4BB7 #B73D88
split-complementary
#B7A93D #3D88B7 #6C3DB7
monochromatic
#5B541E #897F2E #B7A93D #CCC065 #DBD393

Accessibility & contrast

On white

2.40
#B7A93D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B7A93D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A93D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A93D#FFFFFF#000000##000000
##B7A93D1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42F
Deuteranopia (green-blind)
#BCAA43
Tritanopia (blue-blind)
#C59D93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b7a93d;
/* rgb */ color: rgb(183, 169, 61);
/* oklch */ color: oklch(72.7% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#d0c278',
    500: '#b7a93d',
    950: '#000000',
  },
}
SCSS
$custom: #b7a93d;
$custom-light: #d0c278;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a93d",
  "rgb": {
    "r": 183,
    "g": 169,
    "b": 61
  },
  "hsl": {
    "h": 53.115,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7266,
    "c": 0.12756,
    "h": 101.9
  },
  "luminance": 0.3878
}

Semantic roles & 50–950 ramp

primary
#B7A93D
secondary
#8990C6
accent
#5EDA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A93D

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

Preview Lab → · Contrast checker → · Palette generator →

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