#B5A03B#B5A03B

#B5A03B is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.121 H 97.4°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B5A03B
RGBrgb(181, 160, 59)
HSLhsl(50, 51%, 47%)
HSVhsv(50, 67%, 71%)
CMYKcmyk(0%, 11.6%, 67.4%, 29%)
CIE-LABlab(65.97, -3.97, 53.44)
CIE-LCHlch(65.97, 53.58, 94.25°)
OKLaboklab(70.53% -0.0156 0.1205)
OKLCHoklch(70.53% 0.121 97.4)
XYZxyz(32.4178, 35.2827, 9.2395)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A03B #3B50B5
analogous
#B5633B #B5A03B #8DB53B
triadic
#B5A03B #3BB5A0 #A03BB5
tetradic
#B5A03B #3BB563 #3B50B5 #B53B8D
square
#B5A03B #3BB563 #3B50B5 #B53B8D
split-complementary
#B5A03B #3B8DB5 #633BB5
monochromatic
#594E1D #87772C #B5A03B #CCB962 #DBCE90

Accessibility & contrast

On white

2.61
#B5A03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B5A03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A03B
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A03B#FFFFFF#000000##000000
##B5A03B1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C2E
Deuteranopia (green-blind)
#B5A340
Tritanopia (blue-blind)
#C3948B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b5a03b;
/* rgb */ color: rgb(181, 160, 59);
/* oklch */ color: oklch(70.5% 0.121 97.4);
Tailwind
colors: {
  custom: {
    50: '#cebb76',
    500: '#b5a03b',
    950: '#000000',
  },
}
SCSS
$custom: #b5a03b;
$custom-light: #cebb76;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a03b",
  "rgb": {
    "r": 181,
    "g": 160,
    "b": 59
  },
  "hsl": {
    "h": 49.672,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.7053,
    "c": 0.12147,
    "h": 97.4
  },
  "luminance": 0.35281
}

Semantic roles & 50–950 ramp

primary
#B5A03B
secondary
#8691C6
accent
#66DA4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B5A03B

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

Preview Lab → · Contrast checker → · Palette generator →

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