#B5C239#B5C239

#B5C239 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 77.9% C 0.156 H 114.8°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#B5C239
RGBrgb(181, 194, 57)
HSLhsl(66, 55%, 49%)
HSVhsv(66, 71%, 76%)
CMYKcmyk(6.7%, 0%, 70.6%, 23.9%)
CIE-LABlab(75.27, -21.57, 63.61)
CIE-LCHlch(75.27, 67.17, 108.73°)
OKLaboklab(77.94% -0.0654 0.1416)
OKLCHoklch(77.94% 0.156 114.8)
XYZxyz(39.0874, 48.7034, 11.2117)
Luminance0.4870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C239 #4639C2
analogous
#C28A39 #B5C239 #71C239
triadic
#B5C239 #39B5C2 #C239B5
tetradic
#B5C239 #39C28A #4639C2 #C23971
square
#B5C239 #39C28A #4639C2 #C23971
split-complementary
#B5C239 #3971C2 #8A39C2
monochromatic
#5D631D #89932B #B5C239 #C8D266 #D9E095

Accessibility & contrast

On white

1.96
#B5C239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#B5C239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C239
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C239#FFFFFF#000000##000000
##B5C2391.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B821
Deuteranopia (green-blind)
#CFBB44
Tritanopia (blue-blind)
#C1B7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b5c239;
/* rgb */ color: rgb(181, 194, 57);
/* oklch */ color: oklch(77.9% 0.156 114.8);
Tailwind
colors: {
  custom: {
    50: '#cfd478',
    500: '#b5c239',
    950: '#000000',
  },
}
SCSS
$custom: #b5c239;
$custom-light: #cfd478;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c239",
  "rgb": {
    "r": 181,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 65.693,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77938,
    "c": 0.15597,
    "h": 114.8
  },
  "luminance": 0.48703
}

Semantic roles & 50–950 ramp

primary
#B5C239
secondary
#928BCB
accent
#4ADE58
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C239

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

Preview Lab → · Contrast checker → · Palette generator →

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