#B5B629#B5B629

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

Color values

HEX#B5B629
RGBrgb(181, 182, 41)
HSLhsl(60, 63%, 44%)
HSVhsv(60, 77%, 71%)
CMYKcmyk(0.5%, 0%, 77.5%, 28.6%)
CIE-LABlab(71.85, -16.29, 65.74)
CIE-LCHlch(71.85, 67.73, 103.92°)
OKLaboklab(75.18% -0.0521 0.1433)
OKLCHoklch(75.18% 0.152 110)
XYZxyz(36.1856, 43.4408, 8.5762)
Luminance0.4344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B629 #2A29B6
analogous
#B67029 #B5B629 #6EB629
triadic
#B5B629 #29B5B6 #B629B5
tetradic
#B5B629 #29B670 #2A29B6 #B6296E
square
#B5B629 #29B670 #2A29B6 #B6296E
split-complementary
#B5B629 #296EB6 #7029B6
monochromatic
#525212 #83841E #B5B629 #D4D547 #E0E179

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B629#FFFFFF#000000##000000
##B5B6291.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)
#C5AE00
Deuteranopia (green-blind)
#C6B235
Tritanopia (blue-blind)
#C2AA9C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b5b629;
/* rgb */ color: rgb(181, 182, 41);
/* oklch */ color: oklch(75.2% 0.152 110.0);
Tailwind
colors: {
  custom: {
    50: '#cfcb6f',
    500: '#b5b629',
    950: '#000000',
  },
}
SCSS
$custom: #b5b629;
$custom-light: #cfcb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b629",
  "rgb": {
    "r": 181,
    "g": 182,
    "b": 41
  },
  "hsl": {
    "h": 60.426,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75177,
    "c": 0.15247,
    "h": 110
  },
  "luminance": 0.4344
}

Semantic roles & 50–950 ramp

primary
#B5B629
secondary
#7372C9
accent
#42E643
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B629

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

Preview Lab → · Contrast checker → · Palette generator →

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