#B7A737#B7A737

#B7A737 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.130 H 101.0°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B7A737
RGBrgb(183, 167, 55)
HSLhsl(53, 54%, 47%)
HSVhsv(53, 70%, 72%)
CMYKcmyk(0%, 8.7%, 69.9%, 28.2%)
CIE-LABlab(68.01, -7.03, 57.23)
CIE-LCHlch(68.01, 57.66, 97.00°)
OKLaboklab(72.18% -0.0249 0.1277)
OKLCHoklch(72.18% 0.13 101)
XYZxyz(34.0383, 37.9821, 9.1520)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A737 #3747B7
analogous
#B76737 #B7A737 #87B737
triadic
#B7A737 #37B7A7 #A737B7
tetradic
#B7A737 #37B767 #3747B7 #B73787
square
#B7A737 #37B767 #3747B7 #B73787
split-complementary
#B7A737 #3787B7 #6737B7
monochromatic
#59511B #887C29 #B7A737 #CEC05D #DCD28C

Accessibility & contrast

On white

2.44
#B7A737 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B7A737 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A737
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A737#FFFFFF#000000##000000
##B7A7371.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A226
Deuteranopia (green-blind)
#BBA93E
Tritanopia (blue-blind)
#C59B90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a737;
/* rgb */ color: rgb(183, 167, 55);
/* oklch */ color: oklch(72.2% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#d0c075',
    500: '#b7a737',
    950: '#000000',
  },
}
SCSS
$custom: #b7a737;
$custom-light: #d0c075;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a737",
  "rgb": {
    "r": 183,
    "g": 167,
    "b": 55
  },
  "hsl": {
    "h": 52.5,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72181,
    "c": 0.13013,
    "h": 101
  },
  "luminance": 0.37981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7A737

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

Preview Lab → · Contrast checker → · Palette generator →

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