#B5C640#B5C640

#B5C640 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 78.9% C 0.156 H 116.3°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#B5C640
RGBrgb(181, 198, 64)
HSLhsl(68, 54%, 51%)
HSVhsv(68, 68%, 78%)
CMYKcmyk(8.6%, 0%, 67.7%, 22.4%)
CIE-LABlab(76.43, -23.14, 62.16)
CIE-LCHlch(76.43, 66.33, 110.42°)
OKLaboklab(78.88% -0.0691 0.1397)
OKLCHoklch(78.88% 0.156 116.3)
XYZxyz(40.1765, 50.5826, 12.4964)
Luminance0.5058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C640 #5140C6
analogous
#C69440 #B5C640 #72C640
triadic
#B5C640 #40B5C6 #C640B5
tetradic
#B5C640 #40C694 #5140C6 #C64072
square
#B5C640 #40C694 #5140C6 #C64072
split-complementary
#B5C640 #4072C6 #9440C6
monochromatic
#626C20 #8D9B2E #B5C640 #C7D46F #DAE29E

Accessibility & contrast

On white

1.89
#B5C640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#B5C640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C640
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C640#FFFFFF#000000##000000
##B5C6401.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2C
Deuteranopia (green-blind)
#D2BD4A
Tritanopia (blue-blind)
#C0BBAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b5c640;
/* rgb */ color: rgb(181, 198, 64);
/* oklch */ color: oklch(78.9% 0.156 116.3);
Tailwind
colors: {
  custom: {
    50: '#ced77c',
    500: '#b5c640',
    950: '#000000',
  },
}
SCSS
$custom: #b5c640;
$custom-light: #ced77c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c640",
  "rgb": {
    "r": 181,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 67.612,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78883,
    "c": 0.15584,
    "h": 116.3
  },
  "luminance": 0.50582
}

Semantic roles & 50–950 ramp

primary
#B5C640
secondary
#3D3575
accent
#4ADD5D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5C640

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

Preview Lab → · Contrast checker → · Palette generator →

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