#B7A233#B7A233

#B7A233 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.129 H 98.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B7A233
RGBrgb(183, 162, 51)
HSLhsl(50, 56%, 46%)
HSVhsv(50, 72%, 72%)
CMYKcmyk(0%, 11.5%, 72.1%, 28.2%)
CIE-LABlab(66.63, -4.59, 57.44)
CIE-LCHlch(66.63, 57.62, 94.57°)
OKLaboklab(71.08% -0.0184 0.1274)
OKLCHoklch(71.08% 0.129 98.2)
XYZxyz(33.0479, 36.1486, 8.3680)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A233 #3348B7
analogous
#B76033 #B7A233 #8AB733
triadic
#B7A233 #33B7A2 #A233B7
tetradic
#B7A233 #33B760 #3348B7 #B7338A
square
#B7A233 #33B760 #3348B7 #B7338A
split-complementary
#B7A233 #338AB7 #6033B7
monochromatic
#574D18 #877826 #B7A233 #D0BD57 #DED087

Accessibility & contrast

On white

2.55
#B7A233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B7A233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A233
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A233#FFFFFF#000000##000000
##B7A2331.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E22
Deuteranopia (green-blind)
#B8A53A
Tritanopia (blue-blind)
#C5968C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b7a233;
/* rgb */ color: rgb(183, 162, 51);
/* oklch */ color: oklch(71.1% 0.129 98.2);
Tailwind
colors: {
  custom: {
    50: '#d0bd72',
    500: '#b7a233',
    950: '#000000',
  },
}
SCSS
$custom: #b7a233;
$custom-light: #d0bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a233",
  "rgb": {
    "r": 183,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 50.455,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71082,
    "c": 0.12876,
    "h": 98.2
  },
  "luminance": 0.36147
}

Semantic roles & 50–950 ramp

primary
#B7A233
secondary
#7F8AC7
accent
#60E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A233

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

Preview Lab → · Contrast checker → · Palette generator →

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