#B7A03C#B7A03C

#B7A03C is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.7% C 0.121 H 96.1°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B7A03C
RGBrgb(183, 160, 60)
HSLhsl(49, 51%, 48%)
HSVhsv(49, 67%, 72%)
CMYKcmyk(0%, 12.6%, 67.2%, 28.2%)
CIE-LABlab(66.16, -3.03, 53.27)
CIE-LCHlch(66.16, 53.36, 93.26°)
OKLaboklab(70.73% -0.0129 0.1202)
OKLCHoklch(70.73% 0.121 96.1)
XYZxyz(32.9164, 35.5368, 9.3996)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A03C #3C53B7
analogous
#B7623C #B7A03C #91B73C
triadic
#B7A03C #3CB7A0 #A03CB7
tetradic
#B7A03C #3CB762 #3C53B7 #B73C91
square
#B7A03C #3CB762 #3C53B7 #B73C91
split-complementary
#B7A03C #3C91B7 #623CB7
monochromatic
#5B4F1E #89782D #B7A03C #CCB964 #DBCE92

Accessibility & contrast

On white

2.59
#B7A03C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B7A03C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A03C
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A03C#FFFFFF#000000##000000
##B7A03C1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D2F
Deuteranopia (green-blind)
#B6A441
Tritanopia (blue-blind)
#C5948B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b7a03c;
/* rgb */ color: rgb(183, 160, 60);
/* oklch */ color: oklch(70.7% 0.121 96.1);
Tailwind
colors: {
  custom: {
    50: '#d0bb77',
    500: '#b7a03c',
    950: '#000000',
  },
}
SCSS
$custom: #b7a03c;
$custom-light: #d0bb77;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a03c",
  "rgb": {
    "r": 183,
    "g": 160,
    "b": 60
  },
  "hsl": {
    "h": 48.78,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70732,
    "c": 0.12091,
    "h": 96.1
  },
  "luminance": 0.35535
}

Semantic roles & 50–950 ramp

primary
#B7A03C
secondary
#8894C6
accent
#68DA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B7A03C

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

Preview Lab → · Contrast checker → · Palette generator →

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