#B5B033#B5B033

#B5B033 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.141 H 107.1°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#B5B033
RGBrgb(181, 176, 51)
HSLhsl(58, 56%, 45%)
HSVhsv(58, 72%, 71%)
CMYKcmyk(0%, 2.8%, 71.8%, 29%)
CIE-LABlab(70.26, -12.80, 60.91)
CIE-LCHlch(70.26, 62.24, 101.87°)
OKLaboklab(73.92% -0.0415 0.1349)
OKLCHoklch(73.92% 0.141 107.1)
XYZxyz(35.1803, 41.1147, 9.2141)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B033 #3338B5
analogous
#B56F33 #B5B033 #79B533
triadic
#B5B033 #33B5B0 #B033B5
tetradic
#B5B033 #33B56F #3338B5 #B53379
square
#B5B033 #33B56F #3338B5 #B53379
split-complementary
#B5B033 #3379B5 #6F33B5
monochromatic
#565318 #858226 #B5B033 #CFCB56 #DDD986

Accessibility & contrast

On white

2.28
#B5B033 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#B5B033 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B033
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B033#FFFFFF#000000##000000
##B5B0331.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91D
Deuteranopia (green-blind)
#C1AE3C
Tritanopia (blue-blind)
#C2A498
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b033;
/* rgb */ color: rgb(181, 176, 51);
/* oklch */ color: oklch(73.9% 0.141 107.1);
Tailwind
colors: {
  custom: {
    50: '#cfc773',
    500: '#b5b033',
    950: '#000000',
  },
}
SCSS
$custom: #b5b033;
$custom-light: #cfc773;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b033",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 51
  },
  "hsl": {
    "h": 57.692,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73919,
    "c": 0.14109,
    "h": 107.1
  },
  "luminance": 0.41113
}

Semantic roles & 50–950 ramp

primary
#B5B033
secondary
#7D80C6
accent
#4EDF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B033

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

Preview Lab → · Contrast checker → · Palette generator →

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