#B5A635#B5A635

#B5A635 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.131 H 101.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B5A635
RGBrgb(181, 166, 53)
HSLhsl(53, 55%, 46%)
HSVhsv(53, 71%, 71%)
CMYKcmyk(0%, 8.3%, 70.7%, 29%)
CIE-LABlab(67.54, -7.48, 57.50)
CIE-LCHlch(67.54, 57.98, 97.42°)
OKLaboklab(71.76% -0.0263 0.128)
OKLCHoklch(71.76% 0.131 101.6)
XYZxyz(33.3363, 37.3547, 8.8217)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A635 #3544B5
analogous
#B56635 #B5A635 #84B535
triadic
#B5A635 #35B5A6 #A635B5
tetradic
#B5A635 #35B566 #3544B5 #B53584
square
#B5A635 #35B566 #3544B5 #B53584
split-complementary
#B5A635 #3584B5 #6635B5
monochromatic
#564F19 #867B27 #B5A635 #CEC159 #DCD288

Accessibility & contrast

On white

2.48
#B5A635 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B5A635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A635
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A635#FFFFFF#000000##000000
##B5A6351.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A124
Deuteranopia (green-blind)
#BAA73C
Tritanopia (blue-blind)
#C39A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a635;
/* rgb */ color: rgb(181, 166, 53);
/* oklch */ color: oklch(71.8% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#cfc073',
    500: '#b5a635',
    950: '#000000',
  },
}
SCSS
$custom: #b5a635;
$custom-light: #cfc073;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a635",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 53
  },
  "hsl": {
    "h": 52.969,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71764,
    "c": 0.13067,
    "h": 101.6
  },
  "luminance": 0.37353
}

Semantic roles & 50–950 ramp

primary
#B5A635
secondary
#8088C6
accent
#5BDE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A635

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

Preview Lab → · Contrast checker → · Palette generator →

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