#B5C140#B5C140

#B5C140 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.8% C 0.150 H 114.5°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#B5C140
RGBrgb(181, 193, 64)
HSLhsl(66, 51%, 50%)
HSVhsv(66, 67%, 76%)
CMYKcmyk(6.2%, 0%, 66.8%, 24.3%)
CIE-LABlab(75.04, -20.68, 60.74)
CIE-LCHlch(75.04, 64.17, 108.80°)
OKLaboklab(77.77% -0.0623 0.1367)
OKLCHoklch(77.77% 0.15 114.5)
XYZxyz(39.0524, 48.3345, 12.1218)
Luminance0.4833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C140 #4C40C1
analogous
#C18C40 #B5C140 #75C140
triadic
#B5C140 #40B5C1 #C140B5
tetradic
#B5C140 #40C18C #4C40C1 #C14075
square
#B5C140 #40C18C #4C40C1 #C14075
split-complementary
#B5C140 #4075C1 #8C40C1
monochromatic
#5F6621 #8B9430 #B5C140 #C7D06E #D9DF9C

Accessibility & contrast

On white

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

On black

10.67
#B5C140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C140
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C140#FFFFFF#000000##000000
##B5C1401.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#CEBA49
Tritanopia (blue-blind)
#C0B6A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b5c140;
/* rgb */ color: rgb(181, 193, 64);
/* oklch */ color: oklch(77.8% 0.150 114.5);
Tailwind
colors: {
  custom: {
    50: '#ced37c',
    500: '#b5c140',
    950: '#000000',
  },
}
SCSS
$custom: #b5c140;
$custom-light: #ced37c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c140",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 65.581,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77768,
    "c": 0.1502,
    "h": 114.5
  },
  "luminance": 0.48334
}

Semantic roles & 50–950 ramp

primary
#B5C140
secondary
#9792CB
accent
#4DDA5A
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B5C140

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

Preview Lab → · Contrast checker → · Palette generator →

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