#B5B03E#B5B03E

#B5B03E 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#B5B03E
RGBrgb(181, 176, 62)
HSLhsl(57, 49%, 48%)
HSVhsv(57, 66%, 71%)
CMYKcmyk(0%, 2.8%, 65.7%, 29%)
CIE-LABlab(70.33, -12.20, 56.71)
CIE-LCHlch(70.33, 58.01, 102.14°)
OKLaboklab(74% -0.0386 0.1279)
OKLCHoklch(74% 0.134 106.8)
XYZxyz(35.4522, 41.2234, 10.6459)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B03E #3E43B5
analogous
#B5743E #B5B03E #7EB53E
triadic
#B5B03E #3EB5B0 #B03EB5
tetradic
#B5B03E #3EB574 #3E43B5 #B53E7E
square
#B5B03E #3EB574 #3E43B5 #B53E7E
split-complementary
#B5B03E #3E7EB5 #743EB5
monochromatic
#5A571F #87842E #B5B03E #CAC666 #DAD793

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B03E#FFFFFF#000000##000000
##B5B03E1.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)
#BEA92F
Deuteranopia (green-blind)
#C1AE45
Tritanopia (blue-blind)
#C2A599
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b03e;
/* rgb */ color: rgb(181, 176, 62);
/* oklch */ color: oklch(74.0% 0.134 106.8);
Tailwind
colors: {
  custom: {
    50: '#cec779',
    500: '#b5b03e',
    950: '#000000',
  },
}
SCSS
$custom: #b5b03e;
$custom-light: #cec779;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b03e",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 62
  },
  "hsl": {
    "h": 57.479,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74004,
    "c": 0.13358,
    "h": 106.8
  },
  "luminance": 0.41222
}

Semantic roles & 50–950 ramp

primary
#B5B03E
secondary
#898CC5
accent
#55D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B03E

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

Preview Lab → · Contrast checker → · Palette generator →

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