#B5B03D#B5B03D

#B5B03D is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.0% C 0.134 H 106.8°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B5B03D
RGBrgb(181, 176, 61)
HSLhsl(58, 50%, 47%)
HSVhsv(58, 66%, 71%)
CMYKcmyk(0%, 2.8%, 66.3%, 29%)
CIE-LABlab(70.32, -12.26, 57.11)
CIE-LCHlch(70.32, 58.41, 102.12°)
OKLaboklab(74% -0.0389 0.1286)
OKLCHoklch(74% 0.134 106.8)
XYZxyz(35.4250, 41.2125, 10.5027)
Luminance0.4121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B03D #3D42B5
analogous
#B5743D #B5B03D #7EB53D
triadic
#B5B03D #3DB5B0 #B03DB5
tetradic
#B5B03D #3DB574 #3D42B5 #B53D7E
square
#B5B03D #3DB574 #3D42B5 #B53D7E
split-complementary
#B5B03D #3D7EB5 #743DB5
monochromatic
#59571E #87832E #B5B03D #CBC764 #DAD792

Accessibility & contrast

On white

2.27
#B5B03D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B5B03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B03D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B03D#FFFFFF#000000##000000
##B5B03D1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92D
Deuteranopia (green-blind)
#C1AE44
Tritanopia (blue-blind)
#C2A599
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b03d;
/* rgb */ color: rgb(181, 176, 61);
/* oklch */ color: oklch(74.0% 0.134 106.8);
Tailwind
colors: {
  custom: {
    50: '#cec779',
    500: '#b5b03d',
    950: '#000000',
  },
}
SCSS
$custom: #b5b03d;
$custom-light: #cec779;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b03d",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 61
  },
  "hsl": {
    "h": 57.5,
    "s": 49.587,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73996,
    "c": 0.13432,
    "h": 106.8
  },
  "luminance": 0.41211
}

Semantic roles & 50–950 ramp

primary
#B5B03D
secondary
#888BC5
accent
#54D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B03D

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

Preview Lab → · Contrast checker → · Palette generator →

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