#B5B339#B5B339

#B5B339 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.6% C 0.140 H 108.4°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#B5B339
RGBrgb(181, 179, 57)
HSLhsl(59, 52%, 47%)
HSVhsv(59, 69%, 71%)
CMYKcmyk(0%, 1.1%, 68.5%, 29%)
CIE-LABlab(71.12, -14.03, 59.51)
CIE-LCHlch(71.12, 61.14, 103.27°)
OKLaboklab(74.62% -0.0443 0.1329)
OKLCHoklch(74.62% 0.14 108.4)
XYZxyz(35.9159, 42.3605, 10.1546)
Luminance0.4236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B339 #393BB5
analogous
#B57539 #B5B339 #79B539
triadic
#B5B339 #39B5B3 #B339B5
tetradic
#B5B339 #39B575 #393BB5 #B53979
square
#B5B339 #39B575 #393BB5 #B53979
split-complementary
#B5B339 #3979B5 #7539B5
monochromatic
#58571C #86852A #B5B339 #CDCB5F #DBDA8D

Accessibility & contrast

On white

2.22
#B5B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#B5B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B339
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B339#FFFFFF#000000##000000
##B5B3391.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC26
Deuteranopia (green-blind)
#C3B041
Tritanopia (blue-blind)
#C2A89B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5b339;
/* rgb */ color: rgb(181, 179, 57);
/* oklch */ color: oklch(74.6% 0.140 108.4);
Tailwind
colors: {
  custom: {
    50: '#cec977',
    500: '#b5b339',
    950: '#000000',
  },
}
SCSS
$custom: #b5b339;
$custom-light: #cec977;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b339",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 59.032,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7462,
    "c": 0.14013,
    "h": 108.4
  },
  "luminance": 0.42359
}

Semantic roles & 50–950 ramp

primary
#B5B339
secondary
#8485C6
accent
#4FDC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B339

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

Preview Lab → · Contrast checker → · Palette generator →

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