#B7A92F#B7A92F

#B7A92F is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.137 H 102.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#B7A92F
RGBrgb(183, 169, 47)
HSLhsl(54, 59%, 45%)
HSVhsv(54, 74%, 72%)
CMYKcmyk(0%, 7.7%, 74.3%, 28.2%)
CIE-LABlab(68.50, -8.47, 60.73)
CIE-LCHlch(68.50, 61.32, 97.94°)
OKLaboklab(72.55% -0.0298 0.1337)
OKLCHoklch(72.55% 0.137 102.6)
XYZxyz(34.2310, 38.6499, 8.3459)
Luminance0.3865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A92F #2F3DB7
analogous
#B7652F #B7A92F #81B72F
triadic
#B7A92F #2FB7A9 #A92FB7
tetradic
#B7A92F #2FB765 #2F3DB7 #B72F81
square
#B7A92F #2FB765 #2F3DB7 #B72F81
split-complementary
#B7A92F #2F81B7 #652FB7
monochromatic
#564F16 #867C22 #B7A92F #D2C551 #DFD582

Accessibility & contrast

On white

2.41
#B7A92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#B7A92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A92F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A92F#FFFFFF#000000##000000
##B7A92F1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A418
Deuteranopia (green-blind)
#BDAA38
Tritanopia (blue-blind)
#C59D91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b7a92f;
/* rgb */ color: rgb(183, 169, 47);
/* oklch */ color: oklch(72.6% 0.137 102.6);
Tailwind
colors: {
  custom: {
    50: '#d0c271',
    500: '#b7a92f',
    950: '#000000',
  },
}
SCSS
$custom: #b7a92f;
$custom-light: #d0c271;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a92f",
  "rgb": {
    "r": 183,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 53.824,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72553,
    "c": 0.13693,
    "h": 102.6
  },
  "luminance": 0.38648
}

Semantic roles & 50–950 ramp

primary
#B7A92F
secondary
#7A82C8
accent
#56E245
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A92F

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

Preview Lab → · Contrast checker → · Palette generator →

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