#B7A93E#B7A93E

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

Color values

HEX#B7A93E
RGBrgb(183, 169, 62)
HSLhsl(53, 49%, 48%)
HSVhsv(53, 66%, 72%)
CMYKcmyk(0%, 7.7%, 66.1%, 28.2%)
CIE-LABlab(68.60, -7.69, 54.96)
CIE-LCHlch(68.60, 55.50, 97.96°)
OKLaboklab(72.67% -0.026 0.1241)
OKLCHoklch(72.67% 0.127 101.8)
XYZxyz(34.5873, 38.7924, 10.2223)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A93E #3E4CB7
analogous
#B76C3E #B7A93E #88B73E
triadic
#B7A93E #3EB7A9 #A93EB7
tetradic
#B7A93E #3EB76C #3E4CB7 #B73E88
square
#B7A93E #3EB76C #3E4CB7 #B73E88
split-complementary
#B7A93E #3E88B7 #6C3EB7
monochromatic
#5C551F #897F2F #B7A93E #CBC067 #DBD394

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A93E#FFFFFF#000000##000000
##B7A93E1.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)
#B8A430
Deuteranopia (green-blind)
#BCAA44
Tritanopia (blue-blind)
#C59D93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b7a93e;
/* rgb */ color: rgb(183, 169, 62);
/* oklch */ color: oklch(72.7% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#d0c279',
    500: '#b7a93e',
    950: '#000000',
  },
}
SCSS
$custom: #b7a93e;
$custom-light: #d0c279;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a93e",
  "rgb": {
    "r": 183,
    "g": 169,
    "b": 62
  },
  "hsl": {
    "h": 53.058,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72669,
    "c": 0.12681,
    "h": 101.8
  },
  "luminance": 0.38791
}

Semantic roles & 50–950 ramp

primary
#B7A93E
secondary
#8A91C6
accent
#5FD94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A93E

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

Preview Lab → · Contrast checker → · Palette generator →

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