#B9C950#B9C950

#B9C950 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.0% C 0.146 H 116.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#B9C950
RGBrgb(185, 201, 80)
HSLhsl(68, 53%, 55%)
HSVhsv(68, 60%, 79%)
CMYKcmyk(8%, 0%, 60.2%, 21.2%)
CIE-LABlab(77.68, -21.91, 57.03)
CIE-LCHlch(77.68, 61.10, 111.02°)
OKLaboklab(80% -0.0643 0.131)
OKLCHoklch(80% 0.146 116.1)
XYZxyz(42.3430, 52.6673, 15.5231)
Luminance0.5267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C950 #6050C9
analogous
#C99D50 #B9C950 #7CC950
triadic
#B9C950 #50B9C9 #C950B9
tetradic
#B9C950 #50C99D #6050C9 #C9507C
square
#B9C950 #50C99D #6050C9 #C9507C
split-complementary
#B9C950 #507CC9 #9D50C9
monochromatic
#6E7925 #99A834 #B9C950 #CCD77F #DEE6AE

Accessibility & contrast

On white

1.82
#B9C950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#B9C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C950
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C950#FFFFFF#000000##000000
##B9C9501.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF42
Deuteranopia (green-blind)
#D5C158
Tritanopia (blue-blind)
#C4BEAF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b9c950;
/* rgb */ color: rgb(185, 201, 80);
/* oklch */ color: oklch(80.0% 0.146 116.1);
Tailwind
colors: {
  custom: {
    50: '#d1d986',
    500: '#b9c950',
    950: '#000000',
  },
}
SCSS
$custom: #b9c950;
$custom-light: #d1d986;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c950",
  "rgb": {
    "r": 185,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 67.934,
    "s": 52.838,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80001,
    "c": 0.14597,
    "h": 116.1
  },
  "luminance": 0.52667
}

Semantic roles & 50–950 ramp

primary
#B9C950
secondary
#453C82
accent
#4CDC5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B9C950

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

Preview Lab → · Contrast checker → · Palette generator →

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