#B7A63F#B7A63F

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

Color values

HEX#B7A63F
RGBrgb(183, 166, 63)
HSLhsl(52, 49%, 48%)
HSVhsv(52, 66%, 72%)
CMYKcmyk(0%, 9.3%, 65.6%, 28.2%)
CIE-LABlab(67.80, -6.05, 53.69)
CIE-LCHlch(67.80, 54.03, 96.42°)
OKLaboklab(72.04% -0.0212 0.1216)
OKLCHoklch(72.04% 0.123 99.9)
XYZxyz(34.0633, 37.7001, 10.1843)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A63F #3F50B7
analogous
#B76A3F #B7A63F #8CB73F
triadic
#B7A63F #3FB7A6 #A63FB7
tetradic
#B7A63F #3FB76A #3F50B7 #B73F8C
square
#B7A63F #3FB76A #3F50B7 #B73F8C
split-complementary
#B7A63F #3F8CB7 #6A3FB7
monochromatic
#5C5320 #897D2F #B7A63F #CBBD68 #DBD196

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A63F#FFFFFF#000000##000000
##B7A63F1.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)
#B5A232
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#C59A90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b7a63f;
/* rgb */ color: rgb(183, 166, 63);
/* oklch */ color: oklch(72.0% 0.123 99.9);
Tailwind
colors: {
  custom: {
    50: '#d0c079',
    500: '#b7a63f',
    950: '#000000',
  },
}
SCSS
$custom: #b7a63f;
$custom-light: #d0c079;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a63f",
  "rgb": {
    "r": 183,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 51.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72035,
    "c": 0.12343,
    "h": 99.9
  },
  "luminance": 0.37699
}

Semantic roles & 50–950 ramp

primary
#B7A63F
secondary
#8B94C6
accent
#63D84F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A63F

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

Preview Lab → · Contrast checker → · Palette generator →

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