#B7A637#B7A637

#B7A637 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.129 H 100.4°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B7A637
RGBrgb(183, 166, 55)
HSLhsl(52, 54%, 47%)
HSVhsv(52, 70%, 72%)
CMYKcmyk(0%, 9.3%, 69.9%, 28.2%)
CIE-LABlab(67.74, -6.50, 56.96)
CIE-LCHlch(67.74, 57.33, 96.51°)
OKLaboklab(71.97% -0.0234 0.1272)
OKLCHoklch(71.97% 0.129 100.4)
XYZxyz(33.8558, 37.6171, 9.0912)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A637 #3748B7
analogous
#B76637 #B7A637 #88B737
triadic
#B7A637 #37B7A6 #A637B7
tetradic
#B7A637 #37B766 #3748B7 #B73788
square
#B7A637 #37B766 #3748B7 #B73788
split-complementary
#B7A637 #3788B7 #6637B7
monochromatic
#59511B #887B29 #B7A637 #CEBF5D #DCD28C

Accessibility & contrast

On white

2.46
#B7A637 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B7A637 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A637
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A637#FFFFFF#000000##000000
##B7A6371.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A127
Deuteranopia (green-blind)
#BAA83E
Tritanopia (blue-blind)
#C59A90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b7a637;
/* rgb */ color: rgb(183, 166, 55);
/* oklch */ color: oklch(72.0% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#d0c074',
    500: '#b7a637',
    950: '#000000',
  },
}
SCSS
$custom: #b7a637;
$custom-light: #d0c074;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a637",
  "rgb": {
    "r": 183,
    "g": 166,
    "b": 55
  },
  "hsl": {
    "h": 52.031,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71966,
    "c": 0.12929,
    "h": 100.4
  },
  "luminance": 0.37616
}

Semantic roles & 50–950 ramp

primary
#B7A637
secondary
#838CC7
accent
#5EDD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A637

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

Preview Lab → · Contrast checker → · Palette generator →

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