#B5B62E#B5B62E

#B5B62E is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.2% C 0.150 H 110.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B5B62E
RGBrgb(181, 182, 46)
HSLhsl(60, 60%, 45%)
HSVhsv(60, 75%, 71%)
CMYKcmyk(0.5%, 0%, 74.7%, 28.6%)
CIE-LABlab(71.88, -16.09, 64.18)
CIE-LCHlch(71.88, 66.17, 104.07°)
OKLaboklab(75.21% -0.0511 0.1409)
OKLCHoklch(75.21% 0.15 110)
XYZxyz(36.2785, 43.4780, 9.0653)
Luminance0.4348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B62E #2F2EB6
analogous
#B6732E #B5B62E #71B62E
triadic
#B5B62E #2EB5B6 #B62EB5
tetradic
#B5B62E #2EB673 #2F2EB6 #B62E71
square
#B5B62E #2EB673 #2F2EB6 #B62E71
split-complementary
#B5B62E #2E71B6 #732EB6
monochromatic
#545415 #848522 #B5B62E #D1D24F #DEDF80

Accessibility & contrast

On white

2.17
#B5B62E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#B5B62E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B62E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B62E#FFFFFF#000000##000000
##B5B62E1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#C2AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b62e;
/* rgb */ color: rgb(181, 182, 46);
/* oklch */ color: oklch(75.2% 0.150 110.0);
Tailwind
colors: {
  custom: {
    50: '#cfcb72',
    500: '#b5b62e',
    950: '#000000',
  },
}
SCSS
$custom: #b5b62e;
$custom-light: #cfcb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b62e",
  "rgb": {
    "r": 181,
    "g": 182,
    "b": 46
  },
  "hsl": {
    "h": 60.441,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75205,
    "c": 0.14987,
    "h": 110
  },
  "luminance": 0.43477
}

Semantic roles & 50–950 ramp

primary
#B5B62E
secondary
#7978C8
accent
#45E346
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B62E

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

Preview Lab → · Contrast checker → · Palette generator →

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