#B5B72E#B5B72E

#B5B72E is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.151 H 110.4°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#B5B72E
RGBrgb(181, 183, 46)
HSLhsl(61, 60%, 45%)
HSVhsv(61, 75%, 72%)
CMYKcmyk(1.1%, 0%, 74.9%, 28.2%)
CIE-LABlab(72.15, -16.60, 64.44)
CIE-LCHlch(72.15, 66.54, 104.44°)
OKLaboklab(75.43% -0.0525 0.1414)
OKLCHoklch(75.43% 0.151 110.4)
XYZxyz(36.4840, 43.8890, 9.1338)
Luminance0.4389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B72E #302EB7
analogous
#B7752E #B5B72E #70B72E
triadic
#B5B72E #2EB5B7 #B72EB5
tetradic
#B5B72E #2EB775 #302EB7 #B72E70
square
#B5B72E #2EB775 #302EB7 #B72E70
split-complementary
#B5B72E #2E70B7 #752EB7
monochromatic
#545515 #858622 #B5B72E #D1D34F #DEDF80

Accessibility & contrast

On white

2.15
#B5B72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#B5B72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B72E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B72E#FFFFFF#000000##000000
##B5B72E1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF0D
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#C2AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b72e;
/* rgb */ color: rgb(181, 183, 46);
/* oklch */ color: oklch(75.4% 0.151 110.4);
Tailwind
colors: {
  custom: {
    50: '#cfcc72',
    500: '#b5b72e',
    950: '#000000',
  },
}
SCSS
$custom: #b5b72e;
$custom-light: #cfcc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b72e",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 60.876,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75426,
    "c": 0.15087,
    "h": 110.4
  },
  "luminance": 0.43888
}

Semantic roles & 50–950 ramp

primary
#B5B72E
secondary
#7A79C8
accent
#45E347
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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