#B5B62D#B5B62D

#B5B62D 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.69:1 contrast (WCAG AA passes).

Color values

HEX#B5B62D
RGBrgb(181, 182, 45)
HSLhsl(60, 60%, 45%)
HSVhsv(60, 75%, 71%)
CMYKcmyk(0.5%, 0%, 75.3%, 28.6%)
CIE-LABlab(71.87, -16.13, 64.50)
CIE-LCHlch(71.87, 66.49, 104.04°)
OKLaboklab(75.2% -0.0513 0.1414)
OKLCHoklch(75.2% 0.15 110)
XYZxyz(36.2590, 43.4702, 8.9627)
Luminance0.4347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B62D #2E2DB6
analogous
#B6732D #B5B62D #71B62D
triadic
#B5B62D #2DB5B6 #B62DB5
tetradic
#B5B62D #2DB673 #2E2DB6 #B62D71
square
#B5B62D #2DB673 #2E2DB6 #B62D71
split-complementary
#B5B62D #2D71B6 #732DB6
monochromatic
#535415 #848521 #B5B62D #D2D34D #DEDF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B62D#FFFFFF#000000##000000
##B5B62D1.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)
#C5AE0B
Deuteranopia (green-blind)
#C6B238
Tritanopia (blue-blind)
#C2AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b62d;
/* rgb */ color: rgb(181, 182, 45);
/* oklch */ color: oklch(75.2% 0.150 110.0);
Tailwind
colors: {
  custom: {
    50: '#cfcb71',
    500: '#b5b62d',
    950: '#000000',
  },
}
SCSS
$custom: #b5b62d;
$custom-light: #cfcb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b62d",
  "rgb": {
    "r": 181,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 60.438,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75199,
    "c": 0.15041,
    "h": 110
  },
  "luminance": 0.43469
}

Semantic roles & 50–950 ramp

primary
#B5B62D
secondary
#7877C8
accent
#44E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B62D

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

Preview Lab → · Contrast checker → · Palette generator →

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