#B7AD39#B7AD39

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

Color values

HEX#B7AD39
RGBrgb(183, 173, 57)
HSLhsl(55, 53%, 47%)
HSVhsv(55, 69%, 72%)
CMYKcmyk(0%, 5.5%, 68.9%, 28.2%)
CIE-LABlab(69.65, -10.07, 58.09)
CIE-LCHlch(69.65, 58.95, 99.83°)
OKLaboklab(73.49% -0.0333 0.1299)
OKLCHoklch(73.49% 0.134 104.4)
XYZxyz(35.2119, 40.2512, 9.7846)
Luminance0.4025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AD39 #3943B7
analogous
#B76E39 #B7AD39 #82B739
triadic
#B7AD39 #39B7AD #AD39B7
tetradic
#B7AD39 #39B76E #3943B7 #B73982
square
#B7AD39 #39B76E #3943B7 #B73982
split-complementary
#B7AD39 #3982B7 #6E39B7
monochromatic
#5A551C #88812A #B7AD39 #CDC560 #DCD68E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7AD39#FFFFFF#000000##000000
##B7AD391.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)
#BCA728
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#C4A196
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b7ad39;
/* rgb */ color: rgb(183, 173, 57);
/* oklch */ color: oklch(73.5% 0.134 104.4);
Tailwind
colors: {
  custom: {
    50: '#d0c576',
    500: '#b7ad39',
    950: '#000000',
  },
}
SCSS
$custom: #b7ad39;
$custom-light: #d0c576;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ad39",
  "rgb": {
    "r": 183,
    "g": 173,
    "b": 57
  },
  "hsl": {
    "h": 55.238,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73489,
    "c": 0.13407,
    "h": 104.4
  },
  "luminance": 0.4025
}

Semantic roles & 50–950 ramp

primary
#B7AD39
secondary
#858AC7
accent
#57DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AD39

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

Preview Lab → · Contrast checker → · Palette generator →

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