#B5B236#B5B236

#B5B236 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.141 H 108.0°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#B5B236
RGBrgb(181, 178, 54)
HSLhsl(59, 54%, 46%)
HSVhsv(59, 70%, 71%)
CMYKcmyk(0%, 1.7%, 70.2%, 29%)
CIE-LABlab(70.82, -13.68, 60.36)
CIE-LCHlch(70.82, 61.89, 102.77°)
OKLaboklab(74.38% -0.0436 0.1342)
OKLCHoklch(74.38% 0.141 108)
XYZxyz(35.6436, 41.9320, 9.7054)
Luminance0.4193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B236 #3639B5
analogous
#B57236 #B5B236 #78B536
triadic
#B5B236 #36B5B2 #B236B5
tetradic
#B5B236 #36B572 #3639B5 #B53678
square
#B5B236 #36B572 #3639B5 #B53678
split-complementary
#B5B236 #3678B5 #7236B5
monochromatic
#57551A #868428 #B5B236 #CECB5A #DCDA89

Accessibility & contrast

On white

2.24
#B5B236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#B5B236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B236
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B236#FFFFFF#000000##000000
##B5B2361.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB21
Deuteranopia (green-blind)
#C3AF3F
Tritanopia (blue-blind)
#C2A69A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b5b236;
/* rgb */ color: rgb(181, 178, 54);
/* oklch */ color: oklch(74.4% 0.141 108.0);
Tailwind
colors: {
  custom: {
    50: '#cfc875',
    500: '#b5b236',
    950: '#000000',
  },
}
SCSS
$custom: #b5b236;
$custom-light: #cfc875;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b236",
  "rgb": {
    "r": 181,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 58.583,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74378,
    "c": 0.14113,
    "h": 108
  },
  "luminance": 0.41931
}

Semantic roles & 50–950 ramp

primary
#B5B236
secondary
#8182C6
accent
#4EDD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B236

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

Preview Lab → · Contrast checker → · Palette generator →

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