#B7A836#B7A836

#B7A836 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.4% C 0.132 H 101.7°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B7A836
RGBrgb(183, 168, 54)
HSLhsl(53, 54%, 46%)
HSVhsv(53, 70%, 72%)
CMYKcmyk(0%, 8.2%, 70.5%, 28.2%)
CIE-LABlab(68.27, -7.61, 57.89)
CIE-LCHlch(68.27, 58.39, 97.49°)
OKLaboklab(72.39% -0.0266 0.1289)
OKLCHoklch(72.39% 0.132 101.7)
XYZxyz(34.1984, 38.3404, 9.0884)
Luminance0.3834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A836 #3645B7
analogous
#B76836 #B7A836 #86B736
triadic
#B7A836 #36B7A8 #A836B7
tetradic
#B7A836 #36B768 #3645B7 #B73686
square
#B7A836 #36B768 #3645B7 #B73686
split-complementary
#B7A836 #3686B7 #6836B7
monochromatic
#58511A #887D28 #B7A836 #CFC15B #DDD38B

Accessibility & contrast

On white

2.42
#B7A836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#B7A836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A836
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A836#FFFFFF#000000##000000
##B7A8361.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A325
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#C59C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a836;
/* rgb */ color: rgb(183, 168, 54);
/* oklch */ color: oklch(72.4% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#d0c174',
    500: '#b7a836',
    950: '#000000',
  },
}
SCSS
$custom: #b7a836;
$custom-light: #d0c174;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a836",
  "rgb": {
    "r": 183,
    "g": 168,
    "b": 54
  },
  "hsl": {
    "h": 53.023,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72388,
    "c": 0.13166,
    "h": 101.7
  },
  "luminance": 0.38339
}

Semantic roles & 50–950 ramp

primary
#B7A836
secondary
#828AC7
accent
#5BDE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A836

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

Preview Lab → · Contrast checker → · Palette generator →

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