#B5B02E#B5B02E

#B5B02E is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.144 H 107.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#B5B02E
RGBrgb(181, 176, 46)
HSLhsl(58, 59%, 45%)
HSVhsv(58, 75%, 71%)
CMYKcmyk(0%, 2.8%, 74.6%, 29%)
CIE-LABlab(70.23, -13.03, 62.64)
CIE-LCHlch(70.23, 63.98, 101.75°)
OKLaboklab(73.89% -0.0426 0.1376)
OKLCHoklch(73.89% 0.144 107.2)
XYZxyz(35.0759, 41.0729, 8.6645)
Luminance0.4107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B02E #2E33B5
analogous
#B56D2E #B5B02E #76B52E
triadic
#B5B02E #2EB5B0 #B02EB5
tetradic
#B5B02E #2EB56D #2E33B5 #B52E76
square
#B5B02E #2EB56D #2E33B5 #B52E76
split-complementary
#B5B02E #2E76B5 #6D2EB5
monochromatic
#535115 #848122 #B5B02E #D2CD4E #DEDB7F

Accessibility & contrast

On white

2.28
#B5B02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#B5B02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B02E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B02E#FFFFFF#000000##000000
##B5B02E1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#C2A497
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b02e;
/* rgb */ color: rgb(181, 176, 46);
/* oklch */ color: oklch(73.9% 0.144 107.2);
Tailwind
colors: {
  custom: {
    50: '#cfc771',
    500: '#b5b02e',
    950: '#000000',
  },
}
SCSS
$custom: #b5b02e;
$custom-light: #cfc771;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b02e",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 46
  },
  "hsl": {
    "h": 57.778,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73887,
    "c": 0.14404,
    "h": 107.2
  },
  "luminance": 0.41072
}

Semantic roles & 50–950 ramp

primary
#B5B02E
secondary
#787BC7
accent
#4BE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B02E

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

Preview Lab → · Contrast checker → · Palette generator →

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