#B5A933#B5A933

#B5A933 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.4% C 0.135 H 103.4°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#B5A933
RGBrgb(181, 169, 51)
HSLhsl(54, 56%, 45%)
HSVhsv(54, 72%, 71%)
CMYKcmyk(0%, 6.6%, 71.8%, 29%)
CIE-LABlab(68.34, -9.16, 59.05)
CIE-LCHlch(68.34, 59.76, 98.82°)
OKLaboklab(72.4% -0.0312 0.1309)
OKLCHoklch(72.4% 0.135 103.4)
XYZxyz(33.8430, 38.4401, 8.7683)
Luminance0.3844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A933 #333FB5
analogous
#B56833 #B5A933 #80B533
triadic
#B5A933 #33B5A9 #A933B5
tetradic
#B5A933 #33B568 #333FB5 #B53380
square
#B5A933 #33B568 #333FB5 #B53380
split-complementary
#B5A933 #3380B5 #6833B5
monochromatic
#565018 #857C26 #B5A933 #CFC456 #DDD586

Accessibility & contrast

On white

2.42
#B5A933 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B5A933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A933
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A933#FFFFFF#000000##000000
##B5A9331.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31F
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#C39D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5a933;
/* rgb */ color: rgb(181, 169, 51);
/* oklch */ color: oklch(72.4% 0.135 103.4);
Tailwind
colors: {
  custom: {
    50: '#cfc273',
    500: '#b5a933',
    950: '#000000',
  },
}
SCSS
$custom: #b5a933;
$custom-light: #cfc273;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a933",
  "rgb": {
    "r": 181,
    "g": 169,
    "b": 51
  },
  "hsl": {
    "h": 54.462,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72397,
    "c": 0.1346,
    "h": 103.4
  },
  "luminance": 0.38439
}

Semantic roles & 50–950 ramp

primary
#B5A933
secondary
#7D84C6
accent
#56DF48
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A933

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

Preview Lab → · Contrast checker → · Palette generator →

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