#B7A33A#B7A33A

#B7A33A is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.125 H 98.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B7A33A
RGBrgb(183, 163, 58)
HSLhsl(50, 52%, 47%)
HSVhsv(50, 68%, 72%)
CMYKcmyk(0%, 10.9%, 68.3%, 28.2%)
CIE-LABlab(66.95, -4.75, 54.94)
CIE-LCHlch(66.95, 55.14, 94.94°)
OKLaboklab(71.35% -0.018 0.1234)
OKLCHoklch(71.35% 0.125 98.3)
XYZxyz(33.3909, 36.5687, 9.3018)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A33A #3A4EB7
analogous
#B7653A #B7A33A #8DB73A
triadic
#B7A33A #3AB7A3 #A33AB7
tetradic
#B7A33A #3AB765 #3A4EB7 #B73A8D
square
#B7A33A #3AB765 #3A4EB7 #B73A8D
split-complementary
#B7A33A #3A8DB7 #653AB7
monochromatic
#5A501D #897A2B #B7A33A #CDBC61 #DCD090

Accessibility & contrast

On white

2.53
#B7A33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B7A33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A33A
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A33A#FFFFFF#000000##000000
##B7A33A1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2C
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#C5978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a33a;
/* rgb */ color: rgb(183, 163, 58);
/* oklch */ color: oklch(71.4% 0.125 98.3);
Tailwind
colors: {
  custom: {
    50: '#d0bd76',
    500: '#b7a33a',
    950: '#000000',
  },
}
SCSS
$custom: #b7a33a;
$custom-light: #d0bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a33a",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 58
  },
  "hsl": {
    "h": 50.4,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71351,
    "c": 0.12471,
    "h": 98.3
  },
  "luminance": 0.36567
}

Semantic roles & 50–950 ramp

primary
#B7A33A
secondary
#8691C7
accent
#63DB4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A33A

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

Preview Lab → · Contrast checker → · Palette generator →

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