#B5C139#B5C139

#B5C139 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.7% C 0.155 H 114.4°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#B5C139
RGBrgb(181, 193, 57)
HSLhsl(65, 54%, 49%)
HSVhsv(65, 70%, 76%)
CMYKcmyk(6.2%, 0%, 70.5%, 24.3%)
CIE-LABlab(74.99, -21.07, 63.34)
CIE-LCHlch(74.99, 66.75, 108.40°)
OKLaboklab(77.72% -0.064 0.141)
OKLCHoklch(77.72% 0.155 114.4)
XYZxyz(38.8656, 48.2598, 11.1378)
Luminance0.4826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C139 #4539C1
analogous
#C18939 #B5C139 #71C139
triadic
#B5C139 #39B5C1 #C139B5
tetradic
#B5C139 #39C189 #4539C1 #C13971
square
#B5C139 #39C189 #4539C1 #C13971
split-complementary
#B5C139 #3971C1 #8939C1
monochromatic
#5C631D #89922B #B5C139 #C8D266 #D9E095

Accessibility & contrast

On white

1.97
#B5C139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#B5C139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C139
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C139#FFFFFF#000000##000000
##B5C1391.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB721
Deuteranopia (green-blind)
#CEBA44
Tritanopia (blue-blind)
#C1B6A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b5c139;
/* rgb */ color: rgb(181, 193, 57);
/* oklch */ color: oklch(77.7% 0.155 114.4);
Tailwind
colors: {
  custom: {
    50: '#ced378',
    500: '#b5c139',
    950: '#000000',
  },
}
SCSS
$custom: #b5c139;
$custom-light: #ced378;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c139",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 57
  },
  "hsl": {
    "h": 65.294,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77715,
    "c": 0.15487,
    "h": 114.4
  },
  "luminance": 0.48259
}

Semantic roles & 50–950 ramp

primary
#B5C139
secondary
#918BCB
accent
#4ADE57
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C139

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

Preview Lab → · Contrast checker → · Palette generator →

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