#B5C540#B5C540

#B5C540 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.7% C 0.155 H 116.0°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#B5C540
RGBrgb(181, 197, 64)
HSLhsl(67, 53%, 51%)
HSVhsv(67, 68%, 77%)
CMYKcmyk(8.1%, 0%, 67.5%, 22.7%)
CIE-LABlab(76.15, -22.65, 61.88)
CIE-LCHlch(76.15, 65.89, 110.11°)
OKLaboklab(78.66% -0.0677 0.1391)
OKLCHoklch(78.66% 0.155 116)
XYZxyz(39.9487, 50.1270, 12.4205)
Luminance0.5013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C540 #5040C5
analogous
#C59240 #B5C540 #72C540
triadic
#B5C540 #40B5C5 #C540B5
tetradic
#B5C540 #40C592 #5040C5 #C54072
square
#B5C540 #40C592 #5040C5 #C54072
split-complementary
#B5C540 #4072C5 #9240C5
monochromatic
#616A20 #8C992F #B5C540 #C7D36F #D9E29E

Accessibility & contrast

On white

1.90
#B5C540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#B5C540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C540
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C540#FFFFFF#000000##000000
##B5C5401.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2C
Deuteranopia (green-blind)
#D1BD4A
Tritanopia (blue-blind)
#C0BAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b5c540;
/* rgb */ color: rgb(181, 197, 64);
/* oklch */ color: oklch(78.7% 0.155 116.0);
Tailwind
colors: {
  custom: {
    50: '#ced67c',
    500: '#b5c540',
    950: '#000000',
  },
}
SCSS
$custom: #b5c540;
$custom-light: #ced67c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c540",
  "rgb": {
    "r": 181,
    "g": 197,
    "b": 64
  },
  "hsl": {
    "h": 67.218,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78659,
    "c": 0.15469,
    "h": 116
  },
  "luminance": 0.50126
}

Semantic roles & 50–950 ramp

primary
#B5C540
secondary
#3D3574
accent
#4BDD5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5C540

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

Preview Lab → · Contrast checker → · Palette generator →

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