#B5B33E#B5B33E

#B5B33E is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.7% C 0.137 H 108.3°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#B5B33E
RGBrgb(181, 179, 62)
HSLhsl(59, 49%, 48%)
HSVhsv(59, 66%, 71%)
CMYKcmyk(0%, 1.1%, 65.7%, 29%)
CIE-LABlab(71.15, -13.75, 57.56)
CIE-LCHlch(71.15, 59.18, 103.43°)
OKLaboklab(74.66% -0.043 0.1297)
OKLCHoklch(74.66% 0.137 108.3)
XYZxyz(36.0469, 42.4129, 10.8442)
Luminance0.4241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B33E #3E40B5
analogous
#B5783E #B5B33E #7BB53E
triadic
#B5B33E #3EB5B3 #B33EB5
tetradic
#B5B33E #3EB578 #3E40B5 #B53E7B
square
#B5B33E #3EB578 #3E40B5 #B53E7B
split-complementary
#B5B33E #3E7BB5 #783EB5
monochromatic
#5A591F #87862E #B5B33E #CAC966 #DAD993

Accessibility & contrast

On white

2.21
#B5B33E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#B5B33E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B33E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B33E#FFFFFF#000000##000000
##B5B33E1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5b33e;
/* rgb */ color: rgb(181, 179, 62);
/* oklch */ color: oklch(74.7% 0.137 108.3);
Tailwind
colors: {
  custom: {
    50: '#cec97a',
    500: '#b5b33e',
    950: '#000000',
  },
}
SCSS
$custom: #b5b33e;
$custom-light: #cec97a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b33e",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 62
  },
  "hsl": {
    "h": 58.992,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7466,
    "c": 0.1366,
    "h": 108.3
  },
  "luminance": 0.42412
}

Semantic roles & 50–950 ramp

primary
#B5B33E
secondary
#898AC5
accent
#52D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B33E

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

Preview Lab → · Contrast checker → · Palette generator →

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