#B7A235#B7A235

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

Color values

HEX#B7A235
RGBrgb(183, 162, 53)
HSLhsl(50, 55%, 46%)
HSVhsv(50, 71%, 72%)
CMYKcmyk(0%, 11.5%, 71%, 28.2%)
CIE-LABlab(66.65, -4.49, 56.67)
CIE-LCHlch(66.65, 56.84, 94.53°)
OKLaboklab(71.1% -0.0179 0.1262)
OKLCHoklch(71.1% 0.127 98.1)
XYZxyz(33.0930, 36.1666, 8.6052)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A235 #354AB7
analogous
#B76135 #B7A235 #8BB735
triadic
#B7A235 #35B7A2 #A235B7
tetradic
#B7A235 #35B761 #354AB7 #B7358B
square
#B7A235 #35B761 #354AB7 #B7358B
split-complementary
#B7A235 #358BB7 #6135B7
monochromatic
#584E1A #887827 #B7A235 #CFBC5A #DDCF89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A235#FFFFFF#000000##000000
##B7A2351.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)
#B29E25
Deuteranopia (green-blind)
#B8A53B
Tritanopia (blue-blind)
#C5968C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b7a235;
/* rgb */ color: rgb(183, 162, 53);
/* oklch */ color: oklch(71.1% 0.127 98.1);
Tailwind
colors: {
  custom: {
    50: '#d0bd73',
    500: '#b7a235',
    950: '#000000',
  },
}
SCSS
$custom: #b7a235;
$custom-light: #d0bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a235",
  "rgb": {
    "r": 183,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 50.308,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71097,
    "c": 0.12744,
    "h": 98.1
  },
  "luminance": 0.36165
}

Semantic roles & 50–950 ramp

primary
#B7A235
secondary
#818CC7
accent
#61DE49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A235

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

Preview Lab → · Contrast checker → · Palette generator →

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