#B7A835#B7A835

#B7A835 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#B7A835
RGBrgb(183, 168, 53)
HSLhsl(53, 55%, 46%)
HSVhsv(53, 71%, 72%)
CMYKcmyk(0%, 8.2%, 71%, 28.2%)
CIE-LABlab(68.26, -7.66, 58.27)
CIE-LCHlch(68.26, 58.77, 97.49°)
OKLaboklab(72.38% -0.0269 0.1296)
OKLCHoklch(72.38% 0.132 101.7)
XYZxyz(34.1752, 38.3311, 8.9660)
Luminance0.3833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A835 #3544B7
analogous
#B76735 #B7A835 #85B735
triadic
#B7A835 #35B7A8 #A835B7
tetradic
#B7A835 #35B767 #3544B7 #B73585
square
#B7A835 #35B767 #3544B7 #B73585
split-complementary
#B7A835 #3585B7 #6735B7
monochromatic
#58511A #887C27 #B7A835 #CFC25A #DDD389

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A835#FFFFFF#000000##000000
##B7A8351.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)
#B8A323
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#C59C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a835;
/* rgb */ color: rgb(183, 168, 53);
/* oklch */ color: oklch(72.4% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#d0c174',
    500: '#b7a835',
    950: '#000000',
  },
}
SCSS
$custom: #b7a835;
$custom-light: #d0c174;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a835",
  "rgb": {
    "r": 183,
    "g": 168,
    "b": 53
  },
  "hsl": {
    "h": 53.077,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7238,
    "c": 0.13233,
    "h": 101.7
  },
  "luminance": 0.3833
}

Semantic roles & 50–950 ramp

primary
#B7A835
secondary
#8189C7
accent
#5BDE49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A835

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

Preview Lab → · Contrast checker → · Palette generator →

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