#B7A237#B7A237

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

Color values

HEX#B7A237
RGBrgb(183, 162, 55)
HSLhsl(50, 54%, 47%)
HSVhsv(50, 70%, 72%)
CMYKcmyk(0%, 11.5%, 69.9%, 28.2%)
CIE-LABlab(66.66, -4.38, 55.88)
CIE-LCHlch(66.66, 56.05, 94.48°)
OKLaboklab(71.11% -0.0173 0.1249)
OKLCHoklch(71.11% 0.126 97.9)
XYZxyz(33.1399, 36.1854, 8.8526)
Luminance0.3618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A237 #374CB7
analogous
#B76237 #B7A237 #8CB737
triadic
#B7A237 #37B7A2 #A237B7
tetradic
#B7A237 #37B762 #374CB7 #B7378C
square
#B7A237 #37B762 #374CB7 #B7378C
split-complementary
#B7A237 #378CB7 #6237B7
monochromatic
#594F1B #887829 #B7A237 #CEBC5D #DCCF8C

Accessibility & contrast

On white

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

On black

8.24
#B7A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A237
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A237#FFFFFF#000000##000000
##B7A2371.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7a237;
/* rgb */ color: rgb(183, 162, 55);
/* oklch */ color: oklch(71.1% 0.126 97.9);
Tailwind
colors: {
  custom: {
    50: '#d0bd74',
    500: '#b7a237',
    950: '#000000',
  },
}
SCSS
$custom: #b7a237;
$custom-light: #d0bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a237",
  "rgb": {
    "r": 183,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 50.156,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71113,
    "c": 0.12607,
    "h": 97.9
  },
  "luminance": 0.36184
}

Semantic roles & 50–950 ramp

primary
#B7A237
secondary
#838EC7
accent
#63DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A237

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

Preview Lab → · Contrast checker → · Palette generator →

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