#B5B62C#B5B62C

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

Color values

HEX#B5B62C
RGBrgb(181, 182, 44)
HSLhsl(60, 61%, 44%)
HSVhsv(60, 76%, 71%)
CMYKcmyk(0.5%, 0%, 75.8%, 28.6%)
CIE-LABlab(71.87, -16.18, 64.82)
CIE-LCHlch(71.87, 66.81, 104.01°)
OKLaboklab(75.19% -0.0515 0.1419)
OKLCHoklch(75.19% 0.151 110)
XYZxyz(36.2400, 43.4626, 8.8625)
Luminance0.4346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B62C #2D2CB6
analogous
#B6722C #B5B62C #70B62C
triadic
#B5B62C #2CB5B6 #B62CB5
tetradic
#B5B62C #2CB672 #2D2CB6 #B62C70
square
#B5B62C #2CB672 #2D2CB6 #B62C70
split-complementary
#B5B62C #2C70B6 #722CB6
monochromatic
#535314 #848520 #B5B62C #D3D44C #DFE07D

Accessibility & contrast

On white

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

On black

9.69
#B5B62C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B62C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B62C#FFFFFF#000000##000000
##B5B62C1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5b62c;
/* rgb */ color: rgb(181, 182, 44);
/* oklch */ color: oklch(75.2% 0.151 110.0);
Tailwind
colors: {
  custom: {
    50: '#cfcb71',
    500: '#b5b62c',
    950: '#000000',
  },
}
SCSS
$custom: #b5b62c;
$custom-light: #cfcb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b62c",
  "rgb": {
    "r": 181,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 60.435,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75193,
    "c": 0.15095,
    "h": 110
  },
  "luminance": 0.43462
}

Semantic roles & 50–950 ramp

primary
#B5B62C
secondary
#7676C8
accent
#44E445
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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