#B5A935#B5A935

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

Color values

HEX#B5A935
RGBrgb(181, 169, 53)
HSLhsl(54, 55%, 46%)
HSVhsv(54, 71%, 71%)
CMYKcmyk(0%, 6.6%, 70.7%, 29%)
CIE-LABlab(68.36, -9.06, 58.30)
CIE-LCHlch(68.36, 59.00, 98.83°)
OKLaboklab(72.41% -0.0307 0.1297)
OKLCHoklch(72.41% 0.133 103.3)
XYZxyz(33.8881, 38.4581, 9.0056)
Luminance0.3846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A935 #3541B5
analogous
#B56935 #B5A935 #81B535
triadic
#B5A935 #35B5A9 #A935B5
tetradic
#B5A935 #35B569 #3541B5 #B53581
square
#B5A935 #35B569 #3541B5 #B53581
split-complementary
#B5A935 #3581B5 #6935B5
monochromatic
#565119 #867D27 #B5A935 #CEC359 #DCD488

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A935#FFFFFF#000000##000000
##B5A9351.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)
#B8A323
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#C39D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5a935;
/* rgb */ color: rgb(181, 169, 53);
/* oklch */ color: oklch(72.4% 0.133 103.3);
Tailwind
colors: {
  custom: {
    50: '#cfc274',
    500: '#b5a935',
    950: '#000000',
  },
}
SCSS
$custom: #b5a935;
$custom-light: #cfc274;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a935",
  "rgb": {
    "r": 181,
    "g": 169,
    "b": 53
  },
  "hsl": {
    "h": 54.375,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72411,
    "c": 0.1333,
    "h": 103.3
  },
  "luminance": 0.38457
}

Semantic roles & 50–950 ramp

primary
#B5A935
secondary
#8086C6
accent
#58DE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A935

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

Preview Lab → · Contrast checker → · Palette generator →

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