#B7A03B#B7A03B

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

Color values

HEX#B7A03B
RGBrgb(183, 160, 59)
HSLhsl(49, 51%, 47%)
HSVhsv(49, 68%, 72%)
CMYKcmyk(0%, 12.6%, 67.8%, 28.2%)
CIE-LABlab(66.16, -3.09, 53.69)
CIE-LCHlch(66.16, 53.78, 93.29°)
OKLaboklab(70.72% -0.0132 0.1209)
OKLCHoklch(70.72% 0.122 96.2)
XYZxyz(32.8902, 35.5263, 9.2617)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A03B #3B52B7
analogous
#B7623B #B7A03B #90B73B
triadic
#B7A03B #3BB7A0 #A03BB7
tetradic
#B7A03B #3BB762 #3B52B7 #B73B90
square
#B7A03B #3BB762 #3B52B7 #B73B90
split-complementary
#B7A03B #3B90B7 #623BB7
monochromatic
#5A4F1D #89782C #B7A03B #CDB963 #DCCE91

Accessibility & contrast

On white

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

On black

8.10
#B7A03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A03B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A03B#FFFFFF#000000##000000
##B7A03B1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7a03b;
/* rgb */ color: rgb(183, 160, 59);
/* oklch */ color: oklch(70.7% 0.122 96.2);
Tailwind
colors: {
  custom: {
    50: '#d0bb76',
    500: '#b7a03b',
    950: '#000000',
  },
}
SCSS
$custom: #b7a03b;
$custom-light: #d0bb76;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a03b",
  "rgb": {
    "r": 183,
    "g": 160,
    "b": 59
  },
  "hsl": {
    "h": 48.871,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70723,
    "c": 0.12166,
    "h": 96.2
  },
  "luminance": 0.35525
}

Semantic roles & 50–950 ramp

primary
#B7A03B
secondary
#8793C6
accent
#67DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B7A03B

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

Preview Lab → · Contrast checker → · Palette generator →

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