#B5A33F#B5A33F

#B5A33F is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.121 H 99.0°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B5A33F
RGBrgb(181, 163, 63)
HSLhsl(51, 48%, 48%)
HSVhsv(51, 65%, 71%)
CMYKcmyk(0%, 9.9%, 65.2%, 29%)
CIE-LABlab(66.81, -5.33, 52.59)
CIE-LCHlch(66.81, 52.86, 95.78°)
OKLaboklab(71.21% -0.019 0.1193)
OKLCHoklch(71.21% 0.121 99)
XYZxyz(33.0519, 36.3785, 9.9824)
Luminance0.3638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A33F #3F51B5
analogous
#B5683F #B5A33F #8CB53F
triadic
#B5A33F #3FB5A3 #A33FB5
tetradic
#B5A33F #3FB568 #3F51B5 #B53F8C
square
#B5A33F #3FB568 #3F51B5 #B53F8C
split-complementary
#B5A33F #3F8CB5 #683FB5
monochromatic
#5A511F #887A2F #B5A33F #CABB67 #DACF94

Accessibility & contrast

On white

2.54
#B5A33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B5A33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A33F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A33F#FFFFFF#000000##000000
##B5A33F1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F33
Deuteranopia (green-blind)
#B7A544
Tritanopia (blue-blind)
#C3988E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b5a33f;
/* rgb */ color: rgb(181, 163, 63);
/* oklch */ color: oklch(71.2% 0.121 99.0);
Tailwind
colors: {
  custom: {
    50: '#cebe79',
    500: '#b5a33f',
    950: '#000000',
  },
}
SCSS
$custom: #b5a33f;
$custom-light: #cebe79;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a33f",
  "rgb": {
    "r": 181,
    "g": 163,
    "b": 63
  },
  "hsl": {
    "h": 50.847,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71206,
    "c": 0.12082,
    "h": 99
  },
  "luminance": 0.36377
}

Semantic roles & 50–950 ramp

primary
#B5A33F
secondary
#8A93C5
accent
#65D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A33F

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

Preview Lab → · Contrast checker → · Palette generator →

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