#B5B62F#B5B62F

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

Color values

HEX#B5B62F
RGBrgb(181, 182, 47)
HSLhsl(60, 59%, 45%)
HSVhsv(60, 74%, 71%)
CMYKcmyk(0.5%, 0%, 74.2%, 28.6%)
CIE-LABlab(71.88, -16.05, 63.86)
CIE-LCHlch(71.88, 65.84, 104.11°)
OKLaboklab(75.21% -0.0509 0.1404)
OKLCHoklch(75.21% 0.149 109.9)
XYZxyz(36.2984, 43.4860, 9.1703)
Luminance0.4349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B62F #302FB6
analogous
#B6732F #B5B62F #72B62F
triadic
#B5B62F #2FB5B6 #B62FB5
tetradic
#B5B62F #2FB673 #302FB6 #B62F72
square
#B5B62F #2FB673 #302FB6 #B62F72
split-complementary
#B5B62F #2F72B6 #732FB6
monochromatic
#545516 #858522 #B5B62F #D1D250 #DEDE81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B62F#FFFFFF#000000##000000
##B5B62F1.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)
#C5AE11
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#C2AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b62f;
/* rgb */ color: rgb(181, 182, 47);
/* oklch */ color: oklch(75.2% 0.149 109.9);
Tailwind
colors: {
  custom: {
    50: '#cfcb72',
    500: '#b5b62f',
    950: '#000000',
  },
}
SCSS
$custom: #b5b62f;
$custom-light: #cfcb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b62f",
  "rgb": {
    "r": 181,
    "g": 182,
    "b": 47
  },
  "hsl": {
    "h": 60.444,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75211,
    "c": 0.14932,
    "h": 109.9
  },
  "luminance": 0.43485
}

Semantic roles & 50–950 ramp

primary
#B5B62F
secondary
#7A79C7
accent
#46E247
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B62F

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

Preview Lab → · Contrast checker → · Palette generator →

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