#B5A633#B5A633

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

Color values

HEX#B5A633
RGBrgb(181, 166, 51)
HSLhsl(53, 56%, 45%)
HSVhsv(53, 72%, 71%)
CMYKcmyk(0%, 8.3%, 71.8%, 29%)
CIE-LABlab(67.53, -7.59, 58.26)
CIE-LCHlch(67.53, 58.75, 97.42°)
OKLaboklab(71.75% -0.0268 0.1292)
OKLCHoklch(71.75% 0.132 101.7)
XYZxyz(33.2913, 37.3367, 8.5844)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A633 #3342B5
analogous
#B56533 #B5A633 #83B533
triadic
#B5A633 #33B5A6 #A633B5
tetradic
#B5A633 #33B565 #3342B5 #B53383
square
#B5A633 #33B565 #3342B5 #B53383
split-complementary
#B5A633 #3383B5 #6533B5
monochromatic
#564E18 #857A26 #B5A633 #CFC156 #DDD386

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A633#FFFFFF#000000##000000
##B5A6331.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)
#B6A120
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#C39A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b5a633;
/* rgb */ color: rgb(181, 166, 51);
/* oklch */ color: oklch(71.7% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#cfc072',
    500: '#b5a633',
    950: '#000000',
  },
}
SCSS
$custom: #b5a633;
$custom-light: #cfc072;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a633",
  "rgb": {
    "r": 181,
    "g": 166,
    "b": 51
  },
  "hsl": {
    "h": 53.077,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71749,
    "c": 0.13198,
    "h": 101.7
  },
  "luminance": 0.37335
}

Semantic roles & 50–950 ramp

primary
#B5A633
secondary
#7D86C6
accent
#5ADF48
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A633

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

Preview Lab → · Contrast checker → · Palette generator →

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