#B7A93A#B7A93A

#B7A93A is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.130 H 102.0°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B7A93A
RGBrgb(183, 169, 58)
HSLhsl(53, 52%, 47%)
HSVhsv(53, 68%, 72%)
CMYKcmyk(0%, 7.7%, 68.3%, 28.2%)
CIE-LABlab(68.57, -7.92, 56.59)
CIE-LCHlch(68.57, 57.14, 97.97°)
OKLaboklab(72.63% -0.0271 0.1269)
OKLCHoklch(72.63% 0.13 102)
XYZxyz(34.4816, 38.7502, 9.6654)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A93A #3A48B7
analogous
#B76B3A #B7A93A #87B73A
triadic
#B7A93A #3AB7A9 #A93AB7
tetradic
#B7A93A #3AB76B #3A48B7 #B73A87
square
#B7A93A #3AB76B #3A48B7 #B73A87
split-complementary
#B7A93A #3A87B7 #6B3AB7
monochromatic
#5A531D #897E2B #B7A93A #CDC161 #DCD390

Accessibility & contrast

On white

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

On black

8.75
#B7A93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A93A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A93A#FFFFFF#000000##000000
##B7A93A1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42A
Deuteranopia (green-blind)
#BCAA41
Tritanopia (blue-blind)
#C59D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b7a93a;
/* rgb */ color: rgb(183, 169, 58);
/* oklch */ color: oklch(72.6% 0.130 102.0);
Tailwind
colors: {
  custom: {
    50: '#d0c276',
    500: '#b7a93a',
    950: '#000000',
  },
}
SCSS
$custom: #b7a93a;
$custom-light: #d0c276;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a93a",
  "rgb": {
    "r": 183,
    "g": 169,
    "b": 58
  },
  "hsl": {
    "h": 53.28,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72634,
    "c": 0.12976,
    "h": 102
  },
  "luminance": 0.38749
}

Semantic roles & 50–950 ramp

primary
#B7A93A
secondary
#868DC7
accent
#5CDB4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A93A

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

Preview Lab → · Contrast checker → · Palette generator →

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