#B7A63E#B7A63E

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

Color values

HEX#B7A63E
RGBrgb(183, 166, 62)
HSLhsl(52, 49%, 48%)
HSVhsv(52, 66%, 72%)
CMYKcmyk(0%, 9.3%, 66.1%, 28.2%)
CIE-LABlab(67.79, -6.11, 54.12)
CIE-LCHlch(67.79, 54.46, 96.44°)
OKLaboklab(72.03% -0.0215 0.1223)
OKLCHoklch(72.03% 0.124 99.9)
XYZxyz(34.0356, 37.6890, 10.0384)
Luminance0.3769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A63E #3E4FB7
analogous
#B7693E #B7A63E #8BB73E
triadic
#B7A63E #3EB7A6 #A63EB7
tetradic
#B7A63E #3EB769 #3E4FB7 #B73E8B
square
#B7A63E #3EB769 #3E4FB7 #B73E8B
split-complementary
#B7A63E #3E8BB7 #693EB7
monochromatic
#5C531F #897D2F #B7A63E #CBBD67 #DBD194

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A63E#FFFFFF#000000##000000
##B7A63E1.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)
#B5A131
Deuteranopia (green-blind)
#BAA844
Tritanopia (blue-blind)
#C59A90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b7a63e;
/* rgb */ color: rgb(183, 166, 62);
/* oklch */ color: oklch(72.0% 0.124 99.9);
Tailwind
colors: {
  custom: {
    50: '#d0c078',
    500: '#b7a63e',
    950: '#000000',
  },
}
SCSS
$custom: #b7a63e;
$custom-light: #d0c078;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a63e",
  "rgb": {
    "r": 183,
    "g": 166,
    "b": 62
  },
  "hsl": {
    "h": 51.57,
    "s": 49.388,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72026,
    "c": 0.1242,
    "h": 99.9
  },
  "luminance": 0.37688
}

Semantic roles & 50–950 ramp

primary
#B7A63E
secondary
#8A93C6
accent
#62D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A63E

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

Preview Lab → · Contrast checker → · Palette generator →

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