#B7A92E#B7A92E

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

Color values

HEX#B7A92E
RGBrgb(183, 169, 46)
HSLhsl(54, 60%, 45%)
HSVhsv(54, 75%, 72%)
CMYKcmyk(0%, 7.7%, 74.9%, 28.2%)
CIE-LABlab(68.49, -8.52, 61.08)
CIE-LCHlch(68.49, 61.67, 97.94°)
OKLaboklab(72.55% -0.03 0.1342)
OKLCHoklch(72.55% 0.138 102.6)
XYZxyz(34.2111, 38.6420, 8.2408)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A92E #2E3CB7
analogous
#B7652E #B7A92E #80B72E
triadic
#B7A92E #2EB7A9 #A92EB7
tetradic
#B7A92E #2EB765 #2E3CB7 #B72E80
square
#B7A92E #2EB765 #2E3CB7 #B72E80
split-complementary
#B7A92E #2E80B7 #652EB7
monochromatic
#554F15 #867C22 #B7A92E #D3C54F #DFD580

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A92E#FFFFFF#000000##000000
##B7A92E1.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)
#B9A416
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#C59D91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b7a92e;
/* rgb */ color: rgb(183, 169, 46);
/* oklch */ color: oklch(72.5% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#d0c270',
    500: '#b7a92e',
    950: '#000000',
  },
}
SCSS
$custom: #b7a92e;
$custom-light: #d0c270;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a92e",
  "rgb": {
    "r": 183,
    "g": 169,
    "b": 46
  },
  "hsl": {
    "h": 53.869,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72547,
    "c": 0.13751,
    "h": 102.6
  },
  "luminance": 0.3864
}

Semantic roles & 50–950 ramp

primary
#B7A92E
secondary
#7981C8
accent
#55E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A92E

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

Preview Lab → · Contrast checker → · Palette generator →

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