#B7AE36#B7AE36

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

Color values

HEX#B7AE36
RGBrgb(183, 174, 54)
HSLhsl(56, 54%, 46%)
HSVhsv(56, 70%, 72%)
CMYKcmyk(0%, 4.9%, 70.5%, 28.2%)
CIE-LABlab(69.90, -10.75, 59.50)
CIE-LCHlch(69.90, 60.47, 100.24°)
OKLaboklab(73.68% -0.0355 0.1324)
OKLCHoklch(73.68% 0.137 105)
XYZxyz(35.3318, 40.6071, 9.4662)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AE36 #363FB7
analogous
#B76E36 #B7AE36 #80B736
triadic
#B7AE36 #36B7AE #AE36B7
tetradic
#B7AE36 #36B76E #363FB7 #B73680
square
#B7AE36 #36B76E #363FB7 #B73680
split-complementary
#B7AE36 #3680B7 #6E36B7
monochromatic
#58541A #888128 #B7AE36 #CFC75B #DDD78B

Accessibility & contrast

On white

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

On black

9.12
#B7AE36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AE36
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AE36#FFFFFF#000000##000000
##B7AE361.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA823
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#C5A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b7ae36;
/* rgb */ color: rgb(183, 174, 54);
/* oklch */ color: oklch(73.7% 0.137 105.0);
Tailwind
colors: {
  custom: {
    50: '#d0c575',
    500: '#b7ae36',
    950: '#000000',
  },
}
SCSS
$custom: #b7ae36;
$custom-light: #d0c575;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ae36",
  "rgb": {
    "r": 183,
    "g": 174,
    "b": 54
  },
  "hsl": {
    "h": 55.814,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73683,
    "c": 0.13703,
    "h": 105
  },
  "luminance": 0.40606
}

Semantic roles & 50–950 ramp

primary
#B7AE36
secondary
#8287C7
accent
#54DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7AE36

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

Preview Lab → · Contrast checker → · Palette generator →

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