#B7AE39#B7AE39

#B7AE39 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.135 H 104.9°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#B7AE39
RGBrgb(183, 174, 57)
HSLhsl(56, 53%, 47%)
HSVhsv(56, 69%, 72%)
CMYKcmyk(0%, 4.9%, 68.9%, 28.2%)
CIE-LABlab(69.92, -10.59, 58.36)
CIE-LCHlch(69.92, 59.31, 100.28°)
OKLaboklab(73.71% -0.0347 0.1305)
OKLCHoklch(73.71% 0.135 104.9)
XYZxyz(35.4044, 40.6361, 9.8487)
Luminance0.4063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE39 #3942B7
analogous
#B76F39 #B7AE39 #81B739
triadic
#B7AE39 #39B7AE #AE39B7
tetradic
#B7AE39 #39B76F #3942B7 #B73981
square
#B7AE39 #39B76F #3942B7 #B73981
split-complementary
#B7AE39 #3981B7 #6F39B7
monochromatic
#5A551C #88822A #B7AE39 #CDC660 #DCD68E

Accessibility & contrast

On white

2.30
#B7AE39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#B7AE39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE39
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE39#FFFFFF#000000##000000
##B7AE391.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA828
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#C4A297
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae39;
/* rgb */ color: rgb(183, 174, 57);
/* oklch */ color: oklch(73.7% 0.135 104.9);
Tailwind
colors: {
  custom: {
    50: '#d0c576',
    500: '#b7ae39',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae39;
$custom-light: #d0c576;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae39",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 57
  },
  "hsl": {
    "h": 55.714,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73706,
    "c": 0.135,
    "h": 104.9
  },
  "luminance": 0.40635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7AE39

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

Preview Lab → · Contrast checker → · Palette generator →

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