#B7A63D#B7A63D

#B7A63D is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.125 H 100.0°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#B7A63D
RGBrgb(183, 166, 61)
HSLhsl(52, 50%, 48%)
HSVhsv(52, 67%, 72%)
CMYKcmyk(0%, 9.3%, 66.7%, 28.2%)
CIE-LABlab(67.78, -6.17, 54.53)
CIE-LCHlch(67.78, 54.88, 96.45°)
OKLaboklab(72.02% -0.0217 0.1231)
OKLCHoklch(72.02% 0.125 100)
XYZxyz(34.0084, 37.6782, 9.8952)
Luminance0.3768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A63D #3D4EB7
analogous
#B7693D #B7A63D #8BB73D
triadic
#B7A63D #3DB7A6 #A63DB7
tetradic
#B7A63D #3DB769 #3D4EB7 #B73D8B
square
#B7A63D #3DB769 #3D4EB7 #B73D8B
split-complementary
#B7A63D #3D8BB7 #693DB7
monochromatic
#5B531E #897C2E #B7A63D #CCBE65 #DBD193

Accessibility & contrast

On white

2.46
#B7A63D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#B7A63D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A63D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A63D#FFFFFF#000000##000000
##B7A63D1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12F
Deuteranopia (green-blind)
#BAA843
Tritanopia (blue-blind)
#C59A90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b7a63d;
/* rgb */ color: rgb(183, 166, 61);
/* oklch */ color: oklch(72.0% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#d0c078',
    500: '#b7a63d',
    950: '#000000',
  },
}
SCSS
$custom: #b7a63d;
$custom-light: #d0c078;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a63d",
  "rgb": {
    "r": 183,
    "g": 166,
    "b": 61
  },
  "hsl": {
    "h": 51.639,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72017,
    "c": 0.12496,
    "h": 100
  },
  "luminance": 0.37677
}

Semantic roles & 50–950 ramp

primary
#B7A63D
secondary
#8992C6
accent
#62DA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A63D

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

Preview Lab → · Contrast checker → · Palette generator →

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