#B9CC4F#B9CC4F

#B9CC4F is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.7% C 0.150 H 117.2°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#B9CC4F
RGBrgb(185, 204, 79)
HSLhsl(69, 55%, 55%)
HSVhsv(69, 61%, 80%)
CMYKcmyk(9.3%, 0%, 61.3%, 20%)
CIE-LABlab(78.50, -23.45, 58.36)
CIE-LCHlch(78.50, 62.89, 111.89°)
OKLaboklab(80.66% -0.0687 0.1337)
OKLCHoklch(80.66% 0.15 117.2)
XYZxyz(43.0125, 54.0650, 15.5653)
Luminance0.5406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC4F #624FCC
analogous
#CCA04F #B9CC4F #7ACC4F
triadic
#B9CC4F #4FB9CC #CC4FB9
tetradic
#B9CC4F #4FCCA0 #624FCC #CC4F7A
square
#B9CC4F #4FCCA0 #624FCC #CC4F7A
split-complementary
#B9CC4F #4F7ACC #A04FCC
monochromatic
#6F7D24 #99AC32 #B9CC4F #CCDA7E #DFE7AE

Accessibility & contrast

On white

1.78
#B9CC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#B9CC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CC4F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CC4F#FFFFFF#000000##000000
##B9CC4F1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#C3C1B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b9cc4f;
/* rgb */ color: rgb(185, 204, 79);
/* oklch */ color: oklch(80.7% 0.150 117.2);
Tailwind
colors: {
  custom: {
    50: '#d1db86',
    500: '#b9cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc4f;
$custom-light: #d1db86;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc4f",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 69.12,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80657,
    "c": 0.15034,
    "h": 117.2
  },
  "luminance": 0.54065
}

Semantic roles & 50–950 ramp

primary
#B9CC4F
secondary
#463B84
accent
#49DE60
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B9CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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