#B9C754#B9C754

#B9C754 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.6% C 0.140 H 115.5°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#B9C754
RGBrgb(185, 199, 84)
HSLhsl(67, 51%, 55%)
HSVhsv(67, 58%, 78%)
CMYKcmyk(7%, 0%, 57.8%, 22%)
CIE-LABlab(77.16, -20.63, 54.71)
CIE-LCHlch(77.16, 58.47, 110.66°)
OKLaboklab(79.6% -0.0603 0.1266)
OKLCHoklch(79.6% 0.14 115.5)
XYZxyz(42.0321, 51.8018, 16.1703)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C754 #6254C7
analogous
#C79B54 #B9C754 #80C754
triadic
#B9C754 #54B9C7 #C754B9
tetradic
#B9C754 #54C79B #6254C7 #C75480
square
#B9C754 #54C79B #6254C7 #C75480
split-complementary
#B9C754 #5480C7 #9B54C7
monochromatic
#6F7928 #99A737 #B9C754 #CCD682 #DFE5B0

Accessibility & contrast

On white

1.85
#B9C754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#B9C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C754
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C754#FFFFFF#000000##000000
##B9C7541.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE47
Deuteranopia (green-blind)
#D3C05B
Tritanopia (blue-blind)
#C4BDAE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c754;
/* rgb */ color: rgb(185, 199, 84);
/* oklch */ color: oklch(79.6% 0.140 115.5);
Tailwind
colors: {
  custom: {
    50: '#d0d788',
    500: '#b9c754',
    950: '#000000',
  },
}
SCSS
$custom: #b9c754;
$custom-light: #d0d788;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c754",
  "rgb": {
    "r": 185,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 67.304,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79599,
    "c": 0.14021,
    "h": 115.5
  },
  "luminance": 0.51801
}

Semantic roles & 50–950 ramp

primary
#B9C754
secondary
#463E82
accent
#4EDA5F
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B9C754

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

Preview Lab → · Contrast checker → · Palette generator →

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