#B7AF36#B7AF36

#B7AF36 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.9% C 0.138 H 105.5°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#B7AF36
RGBrgb(183, 175, 54)
HSLhsl(56, 54%, 46%)
HSVhsv(56, 70%, 72%)
CMYKcmyk(0%, 4.4%, 70.5%, 28.2%)
CIE-LABlab(70.17, -11.26, 59.77)
CIE-LCHlch(70.17, 60.82, 100.67°)
OKLaboklab(73.9% -0.037 0.1329)
OKLCHoklch(73.9% 0.138 105.5)
XYZxyz(35.5257, 40.9949, 9.5308)
Luminance0.4099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7AF36 #363EB7
analogous
#B76F36 #B7AF36 #7FB736
triadic
#B7AF36 #36B7AF #AF36B7
tetradic
#B7AF36 #36B76F #363EB7 #B7367F
square
#B7AF36 #36B76F #363EB7 #B7367F
split-complementary
#B7AF36 #367FB7 #6F36B7
monochromatic
#58551A #888228 #B7AF36 #CFC85B #DDD88B

Accessibility & contrast

On white

2.28
#B7AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#B7AF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7AF36
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7AF36#FFFFFF#000000##000000
##B7AF361.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA922
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#C4A397
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b7af36;
/* rgb */ color: rgb(183, 175, 54);
/* oklch */ color: oklch(73.9% 0.138 105.5);
Tailwind
colors: {
  custom: {
    50: '#d0c675',
    500: '#b7af36',
    950: '#000000',
  },
}
SCSS
$custom: #b7af36;
$custom-light: #d0c675;
$custom-dark: #000000;
JSON
{
  "hex": "#b7af36",
  "rgb": {
    "r": 183,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 56.279,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.739,
    "c": 0.13796,
    "h": 105.5
  },
  "luminance": 0.40994
}

Semantic roles & 50–950 ramp

primary
#B7AF36
secondary
#8286C7
accent
#53DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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