#B5C94F#B5C94F

#B5C94F is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.7% C 0.148 H 117.8°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#B5C94F
RGBrgb(181, 201, 79)
HSLhsl(70, 53%, 55%)
HSVhsv(70, 61%, 79%)
CMYKcmyk(10%, 0%, 60.7%, 21.2%)
CIE-LABlab(77.38, -23.61, 57.05)
CIE-LCHlch(77.38, 61.74, 112.48°)
OKLaboklab(79.68% -0.069 0.131)
OKLCHoklch(79.68% 0.148 117.8)
XYZxyz(41.3547, 52.1619, 15.2853)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C94F #634FC9
analogous
#C9A04F #B5C94F #78C94F
triadic
#B5C94F #4FB5C9 #C94FB5
tetradic
#B5C94F #4FC9A0 #634FC9 #C94F78
square
#B5C94F #4FC9A0 #634FC9 #C94F78
split-complementary
#B5C94F #4F78C9 #A04FC9
monochromatic
#6B7925 #94A733 #B5C94F #C9D77E #DCE6AD

Accessibility & contrast

On white

1.84
#B5C94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#B5C94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C94F
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C94F#FFFFFF#000000##000000
##B5C94F1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF41
Deuteranopia (green-blind)
#D3C057
Tritanopia (blue-blind)
#BFBFAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b5c94f;
/* rgb */ color: rgb(181, 201, 79);
/* oklch */ color: oklch(79.7% 0.148 117.8);
Tailwind
colors: {
  custom: {
    50: '#ced985',
    500: '#b5c94f',
    950: '#000000',
  },
}
SCSS
$custom: #b5c94f;
$custom-light: #ced985;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c94f",
  "rgb": {
    "r": 181,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 69.836,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79684,
    "c": 0.14806,
    "h": 117.8
  },
  "luminance": 0.52162
}

Semantic roles & 50–950 ramp

primary
#B5C94F
secondary
#473B81
accent
#4BDC63
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B5C94F

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

Preview Lab → · Contrast checker → · Palette generator →

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