#B7A33B#B7A33B

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

Color values

HEX#B7A33B
RGBrgb(183, 163, 59)
HSLhsl(50, 51%, 47%)
HSVhsv(50, 68%, 72%)
CMYKcmyk(0%, 10.9%, 67.8%, 28.2%)
CIE-LABlab(66.96, -4.69, 54.52)
CIE-LCHlch(66.96, 54.73, 94.92°)
OKLaboklab(71.36% -0.0178 0.1227)
OKLCHoklch(71.36% 0.124 98.2)
XYZxyz(33.4166, 36.5790, 9.4371)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A33B #3B4FB7
analogous
#B7653B #B7A33B #8DB73B
triadic
#B7A33B #3BB7A3 #A33BB7
tetradic
#B7A33B #3BB765 #3B4FB7 #B73B8D
square
#B7A33B #3BB765 #3B4FB7 #B73B8D
split-complementary
#B7A33B #3B8DB7 #653BB7
monochromatic
#5A511D #897A2C #B7A33B #CDBB63 #DCCF91

Accessibility & contrast

On white

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

On black

8.32
#B7A33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A33B
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A33B#FFFFFF#000000##000000
##B7A33B1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2D
Deuteranopia (green-blind)
#B8A641
Tritanopia (blue-blind)
#C5978E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a33b;
/* rgb */ color: rgb(183, 163, 59);
/* oklch */ color: oklch(71.4% 0.124 98.2);
Tailwind
colors: {
  custom: {
    50: '#d0bd76',
    500: '#b7a33b',
    950: '#000000',
  },
}
SCSS
$custom: #b7a33b;
$custom-light: #d0bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a33b",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 59
  },
  "hsl": {
    "h": 50.323,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7136,
    "c": 0.12398,
    "h": 98.2
  },
  "luminance": 0.36577
}

Semantic roles & 50–950 ramp

primary
#B7A33B
secondary
#8791C6
accent
#64DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A33B

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

Preview Lab → · Contrast checker → · Palette generator →

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