#B7AD37#B7AD37

#B7AD37 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.5% C 0.135 H 104.4°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#B7AD37
RGBrgb(183, 173, 55)
HSLhsl(55, 54%, 47%)
HSVhsv(55, 70%, 72%)
CMYKcmyk(0%, 5.5%, 69.9%, 28.2%)
CIE-LABlab(69.63, -10.18, 58.86)
CIE-LCHlch(69.63, 59.73, 99.81°)
OKLaboklab(73.47% -0.0338 0.1312)
OKLCHoklch(73.47% 0.135 104.4)
XYZxyz(35.1630, 40.2316, 9.5270)
Luminance0.4023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AD37 #3741B7
analogous
#B76D37 #B7AD37 #81B737
triadic
#B7AD37 #37B7AD #AD37B7
tetradic
#B7AD37 #37B76D #3741B7 #B73781
square
#B7AD37 #37B76D #3741B7 #B73781
split-complementary
#B7AD37 #3781B7 #6D37B7
monochromatic
#59541B #888129 #B7AD37 #CEC55D #DCD68C

Accessibility & contrast

On white

2.32
#B7AD37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#B7AD37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AD37
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AD37#FFFFFF#000000##000000
##B7AD371.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#C5A196
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b7ad37;
/* rgb */ color: rgb(183, 173, 55);
/* oklch */ color: oklch(73.5% 0.135 104.4);
Tailwind
colors: {
  custom: {
    50: '#d0c575',
    500: '#b7ad37',
    950: '#000000',
  },
}
SCSS
$custom: #b7ad37;
$custom-light: #d0c575;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ad37",
  "rgb": {
    "r": 183,
    "g": 173,
    "b": 55
  },
  "hsl": {
    "h": 55.313,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73474,
    "c": 0.13544,
    "h": 104.4
  },
  "luminance": 0.4023
}

Semantic roles & 50–950 ramp

primary
#B7AD37
secondary
#8388C7
accent
#56DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AD37

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

Preview Lab → · Contrast checker → · Palette generator →

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