#B7A437#B7A437

#B7A437 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.5% C 0.128 H 99.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#B7A437
RGBrgb(183, 164, 55)
HSLhsl(51, 54%, 47%)
HSVhsv(51, 70%, 72%)
CMYKcmyk(0%, 10.4%, 69.9%, 28.2%)
CIE-LABlab(67.20, -5.44, 56.42)
CIE-LCHlch(67.20, 56.68, 95.51°)
OKLaboklab(71.54% -0.0204 0.126)
OKLCHoklch(71.54% 0.128 99.2)
XYZxyz(33.4950, 36.8956, 8.9710)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A437 #374AB7
analogous
#B76437 #B7A437 #8AB737
triadic
#B7A437 #37B7A4 #A437B7
tetradic
#B7A437 #37B764 #374AB7 #B7378A
square
#B7A437 #37B764 #374AB7 #B7378A
split-complementary
#B7A437 #378AB7 #6437B7
monochromatic
#59501B #887A29 #B7A437 #CEBD5D #DCD08C

Accessibility & contrast

On white

2.51
#B7A437 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#B7A437 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A437
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A437#FFFFFF#000000##000000
##B7A4371.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A027
Deuteranopia (green-blind)
#B9A73D
Tritanopia (blue-blind)
#C5988E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b7a437;
/* rgb */ color: rgb(183, 164, 55);
/* oklch */ color: oklch(71.5% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#d0be74',
    500: '#b7a437',
    950: '#000000',
  },
}
SCSS
$custom: #b7a437;
$custom-light: #d0be74;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a437",
  "rgb": {
    "r": 183,
    "g": 164,
    "b": 55
  },
  "hsl": {
    "h": 51.094,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71539,
    "c": 0.12765,
    "h": 99.2
  },
  "luminance": 0.36894
}

Semantic roles & 50–950 ramp

primary
#B7A437
secondary
#838DC7
accent
#60DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A437

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

Preview Lab → · Contrast checker → · Palette generator →

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