#B7A62A#B7A62A

#B7A62A is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.9% C 0.137 H 101.1°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B7A62A
RGBrgb(183, 166, 42)
HSLhsl(53, 63%, 44%)
HSVhsv(53, 77%, 72%)
CMYKcmyk(0%, 9.3%, 77%, 28.2%)
CIE-LABlab(67.66, -7.11, 61.67)
CIE-LCHlch(67.66, 62.08, 96.57°)
OKLaboklab(71.88% -0.0264 0.1347)
OKLCHoklch(71.88% 0.137 101.1)
XYZxyz(33.5842, 37.5085, 7.6609)
Luminance0.3751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A62A #2A3BB7
analogous
#B7602A #B7A62A #82B72A
triadic
#B7A62A #2AB7A6 #A62AB7
tetradic
#B7A62A #2AB760 #2A3BB7 #B72A82
square
#B7A62A #2AB760 #2A3BB7 #B72A82
split-complementary
#B7A62A #2A82B7 #602AB7
monochromatic
#534C13 #85791F #B7A62A #D5C449 #E1D47B

Accessibility & contrast

On white

2.47
#B7A62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B7A62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A62A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A62A#FFFFFF#000000##000000
##B7A62A1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10D
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#C59A8F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b7a62a;
/* rgb */ color: rgb(183, 166, 42);
/* oklch */ color: oklch(71.9% 0.137 101.1);
Tailwind
colors: {
  custom: {
    50: '#d1c06e',
    500: '#b7a62a',
    950: '#000000',
  },
}
SCSS
$custom: #b7a62a;
$custom-light: #d1c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a62a",
  "rgb": {
    "r": 183,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 52.766,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71877,
    "c": 0.13726,
    "h": 101.1
  },
  "luminance": 0.37507
}

Semantic roles & 50–950 ramp

primary
#B7A62A
secondary
#747EC9
accent
#56E642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #B7A62A

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

Preview Lab → · Contrast checker → · Palette generator →

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