#B5A835#B5A835

#B5A835 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.2% C 0.132 H 102.8°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B5A835
RGBrgb(181, 168, 53)
HSLhsl(54, 55%, 46%)
HSVhsv(54, 71%, 71%)
CMYKcmyk(0%, 7.2%, 70.7%, 29%)
CIE-LABlab(68.09, -8.54, 58.03)
CIE-LCHlch(68.09, 58.66, 98.37°)
OKLaboklab(72.19% -0.0292 0.1291)
OKLCHoklch(72.19% 0.132 102.8)
XYZxyz(33.7027, 38.0875, 8.9438)
Luminance0.3809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A835 #3542B5
analogous
#B56835 #B5A835 #82B535
triadic
#B5A835 #35B5A8 #A835B5
tetradic
#B5A835 #35B568 #3542B5 #B53582
square
#B5A835 #35B568 #3542B5 #B53582
split-complementary
#B5A835 #3582B5 #6835B5
monochromatic
#565019 #867C27 #B5A835 #CEC259 #DCD488

Accessibility & contrast

On white

2.44
#B5A835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B5A835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A835
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A835#FFFFFF#000000##000000
##B5A8351.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A323
Deuteranopia (green-blind)
#BBA93C
Tritanopia (blue-blind)
#C39C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b5a835;
/* rgb */ color: rgb(181, 168, 53);
/* oklch */ color: oklch(72.2% 0.132 102.8);
Tailwind
colors: {
  custom: {
    50: '#cfc174',
    500: '#b5a835',
    950: '#000000',
  },
}
SCSS
$custom: #b5a835;
$custom-light: #cfc174;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a835",
  "rgb": {
    "r": 181,
    "g": 168,
    "b": 53
  },
  "hsl": {
    "h": 53.906,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72195,
    "c": 0.13241,
    "h": 102.8
  },
  "luminance": 0.38086
}

Semantic roles & 50–950 ramp

primary
#B5A835
secondary
#8087C6
accent
#59DE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A835

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

Preview Lab → · Contrast checker → · Palette generator →

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