#B5B239#B5B239

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

Color values

HEX#B5B239
RGBrgb(181, 178, 57)
HSLhsl(59, 52%, 47%)
HSVhsv(59, 69%, 71%)
CMYKcmyk(0%, 1.7%, 68.5%, 29%)
CIE-LABlab(70.84, -13.52, 59.23)
CIE-LCHlch(70.84, 60.75, 102.86°)
OKLaboklab(74.4% -0.0429 0.1324)
OKLCHoklch(74.4% 0.139 108)
XYZxyz(35.7163, 41.9611, 10.0880)
Luminance0.4196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B239 #393CB5
analogous
#B57439 #B5B239 #7AB539
triadic
#B5B239 #39B5B2 #B239B5
tetradic
#B5B239 #39B574 #393CB5 #B5397A
square
#B5B239 #39B574 #393CB5 #B5397A
split-complementary
#B5B239 #397AB5 #7439B5
monochromatic
#58561C #86842A #B5B239 #CDCA5F #DBD98D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B239#FFFFFF#000000##000000
##B5B2391.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)
#C1AB26
Deuteranopia (green-blind)
#C3AF41
Tritanopia (blue-blind)
#C2A79A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b5b239;
/* rgb */ color: rgb(181, 178, 57);
/* oklch */ color: oklch(74.4% 0.139 108.0);
Tailwind
colors: {
  custom: {
    50: '#cec877',
    500: '#b5b239',
    950: '#000000',
  },
}
SCSS
$custom: #b5b239;
$custom-light: #cec877;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b239",
  "rgb": {
    "r": 181,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 58.548,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74401,
    "c": 0.13913,
    "h": 108
  },
  "luminance": 0.4196
}

Semantic roles & 50–950 ramp

primary
#B5B239
secondary
#8486C6
accent
#50DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B239

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

Preview Lab → · Contrast checker → · Palette generator →

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