#B7A433#B7A433

#B7A433 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.5% C 0.130 H 99.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B7A433
RGBrgb(183, 164, 51)
HSLhsl(51, 56%, 46%)
HSVhsv(51, 72%, 72%)
CMYKcmyk(0%, 10.4%, 72.1%, 28.2%)
CIE-LABlab(67.17, -5.65, 57.97)
CIE-LCHlch(67.17, 58.24, 95.57°)
OKLaboklab(71.51% -0.0214 0.1286)
OKLCHoklch(71.51% 0.13 99.4)
XYZxyz(33.4030, 36.8588, 8.4863)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A433 #3346B7
analogous
#B76233 #B7A433 #88B733
triadic
#B7A433 #33B7A4 #A433B7
tetradic
#B7A433 #33B762 #3346B7 #B73388
square
#B7A433 #33B762 #3346B7 #B73388
split-complementary
#B7A433 #3388B7 #6233B7
monochromatic
#574E18 #877926 #B7A433 #D0BF57 #DED187

Accessibility & contrast

On white

2.51
#B7A433 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B7A433 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A433
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A433#FFFFFF#000000##000000
##B7A4331.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A021
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#C5988E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a433;
/* rgb */ color: rgb(183, 164, 51);
/* oklch */ color: oklch(71.5% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#d0be72',
    500: '#b7a433',
    950: '#000000',
  },
}
SCSS
$custom: #b7a433;
$custom-light: #d0be72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a433",
  "rgb": {
    "r": 183,
    "g": 164,
    "b": 51
  },
  "hsl": {
    "h": 51.364,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71508,
    "c": 0.13033,
    "h": 99.4
  },
  "luminance": 0.36857
}

Semantic roles & 50–950 ramp

primary
#B7A433
secondary
#7F89C7
accent
#5EE048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A433

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

Preview Lab → · Contrast checker → · Palette generator →

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