#B7A837#B7A837

#B7A837 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.4% C 0.131 H 101.6°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B7A837
RGBrgb(183, 168, 55)
HSLhsl(53, 54%, 47%)
HSVhsv(53, 70%, 72%)
CMYKcmyk(0%, 8.2%, 69.9%, 28.2%)
CIE-LABlab(68.28, -7.56, 57.50)
CIE-LCHlch(68.28, 58.00, 97.49°)
OKLaboklab(72.4% -0.0264 0.1283)
OKLCHoklch(72.4% 0.131 101.6)
XYZxyz(34.2222, 38.3499, 9.2133)
Luminance0.3835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A837 #3746B7
analogous
#B76837 #B7A837 #86B737
triadic
#B7A837 #37B7A8 #A837B7
tetradic
#B7A837 #37B768 #3746B7 #B73786
square
#B7A837 #37B768 #3746B7 #B73786
split-complementary
#B7A837 #3786B7 #6837B7
monochromatic
#59521B #887D29 #B7A837 #CEC15D #DCD38C

Accessibility & contrast

On white

2.42
#B7A837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#B7A837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A837
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A837#FFFFFF#000000##000000
##B7A8371.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A326
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#C59C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a837;
/* rgb */ color: rgb(183, 168, 55);
/* oklch */ color: oklch(72.4% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#d0c175',
    500: '#b7a837',
    950: '#000000',
  },
}
SCSS
$custom: #b7a837;
$custom-light: #d0c175;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a837",
  "rgb": {
    "r": 183,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 52.969,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72395,
    "c": 0.13098,
    "h": 101.6
  },
  "luminance": 0.38348
}

Semantic roles & 50–950 ramp

primary
#B7A837
secondary
#838BC7
accent
#5CDD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A837

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

Preview Lab → · Contrast checker → · Palette generator →

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