#B5B237#B5B237

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

Color values

HEX#B5B237
RGBrgb(181, 178, 55)
HSLhsl(59, 53%, 46%)
HSVhsv(59, 70%, 71%)
CMYKcmyk(0%, 1.7%, 69.6%, 29%)
CIE-LABlab(70.83, -13.62, 59.99)
CIE-LCHlch(70.83, 61.51, 102.80°)
OKLaboklab(74.39% -0.0434 0.1336)
OKLCHoklch(74.39% 0.14 108)
XYZxyz(35.6673, 41.9415, 9.8304)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B237 #373AB5
analogous
#B57337 #B5B237 #79B537
triadic
#B5B237 #37B5B2 #B237B5
tetradic
#B5B237 #37B573 #373AB5 #B53779
square
#B5B237 #37B573 #373AB5 #B53779
split-complementary
#B5B237 #3779B5 #7337B5
monochromatic
#57561A #868429 #B5B237 #CDCB5C #DCDA8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B237#FFFFFF#000000##000000
##B5B2371.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)
#C1AB23
Deuteranopia (green-blind)
#C3AF40
Tritanopia (blue-blind)
#C2A69A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b5b237;
/* rgb */ color: rgb(181, 178, 55);
/* oklch */ color: oklch(74.4% 0.140 108.0);
Tailwind
colors: {
  custom: {
    50: '#cec876',
    500: '#b5b237',
    950: '#000000',
  },
}
SCSS
$custom: #b5b237;
$custom-light: #cec876;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b237",
  "rgb": {
    "r": 181,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 58.571,
    "s": 53.39,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74386,
    "c": 0.14048,
    "h": 108
  },
  "luminance": 0.4194
}

Semantic roles & 50–950 ramp

primary
#B5B237
secondary
#8283C6
accent
#4EDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B237

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

Preview Lab → · Contrast checker → · Palette generator →

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