#B5A934#B5A934

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

Color values

HEX#B5A934
RGBrgb(181, 169, 52)
HSLhsl(54, 55%, 46%)
HSVhsv(54, 71%, 71%)
CMYKcmyk(0%, 6.6%, 71.3%, 29%)
CIE-LABlab(68.35, -9.11, 58.68)
CIE-LCHlch(68.35, 59.38, 98.83°)
OKLaboklab(72.4% -0.031 0.1303)
OKLCHoklch(72.4% 0.134 103.4)
XYZxyz(33.8653, 38.4490, 8.8857)
Luminance0.3845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A934 #3440B5
analogous
#B56934 #B5A934 #80B534
triadic
#B5A934 #34B5A9 #A934B5
tetradic
#B5A934 #34B569 #3440B5 #B53480
square
#B5A934 #34B569 #3440B5 #B53480
split-complementary
#B5A934 #3480B5 #6934B5
monochromatic
#565019 #857D26 #B5A934 #CFC457 #DCD587

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A934#FFFFFF#000000##000000
##B5A9341.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)
#B8A321
Deuteranopia (green-blind)
#BCA93C
Tritanopia (blue-blind)
#C39D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5a934;
/* rgb */ color: rgb(181, 169, 52);
/* oklch */ color: oklch(72.4% 0.134 103.4);
Tailwind
colors: {
  custom: {
    50: '#cfc273',
    500: '#b5a934',
    950: '#000000',
  },
}
SCSS
$custom: #b5a934;
$custom-light: #cfc273;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a934",
  "rgb": {
    "r": 181,
    "g": 169,
    "b": 52
  },
  "hsl": {
    "h": 54.419,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72404,
    "c": 0.13395,
    "h": 103.4
  },
  "luminance": 0.38448
}

Semantic roles & 50–950 ramp

primary
#B5A934
secondary
#7F85C6
accent
#57DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A934

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

Preview Lab → · Contrast checker → · Palette generator →

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