#B5A535#B5A535

#B5A535 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.130 H 101.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B5A535
RGBrgb(181, 165, 53)
HSLhsl(53, 55%, 46%)
HSVhsv(53, 71%, 71%)
CMYKcmyk(0%, 8.8%, 70.7%, 29%)
CIE-LABlab(67.27, -6.96, 57.23)
CIE-LCHlch(67.27, 57.65, 96.93°)
OKLaboklab(71.55% -0.0248 0.1274)
OKLCHoklch(71.55% 0.13 101)
XYZxyz(33.1553, 36.9925, 8.7613)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A535 #3545B5
analogous
#B56535 #B5A535 #85B535
triadic
#B5A535 #35B5A5 #A535B5
tetradic
#B5A535 #35B565 #3545B5 #B53585
square
#B5A535 #35B565 #3545B5 #B53585
split-complementary
#B5A535 #3585B5 #6535B5
monochromatic
#564F19 #867A27 #B5A535 #CEC059 #DCD288

Accessibility & contrast

On white

2.50
#B5A535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B5A535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A535
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A535#FFFFFF#000000##000000
##B5A5351.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A024
Deuteranopia (green-blind)
#B9A73C
Tritanopia (blue-blind)
#C3998F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a535;
/* rgb */ color: rgb(181, 165, 53);
/* oklch */ color: oklch(71.5% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#cfbf73',
    500: '#b5a535',
    950: '#000000',
  },
}
SCSS
$custom: #b5a535;
$custom-light: #cfbf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a535",
  "rgb": {
    "r": 181,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 52.5,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71549,
    "c": 0.12982,
    "h": 101
  },
  "luminance": 0.36991
}

Semantic roles & 50–950 ramp

primary
#B5A535
secondary
#8088C6
accent
#5CDE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A535

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

Preview Lab → · Contrast checker → · Palette generator →

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