#B9CC4A#B9CC4A

#B9CC4A is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.6% C 0.154 H 117.1°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#B9CC4A
RGBrgb(185, 204, 74)
HSLhsl(69, 56%, 55%)
HSVhsv(69, 64%, 80%)
CMYKcmyk(9.3%, 0%, 63.7%, 20%)
CIE-LABlab(78.46, -23.80, 60.39)
CIE-LCHlch(78.46, 64.91, 111.51°)
OKLaboklab(80.61% -0.0702 0.1373)
OKLCHoklch(80.61% 0.154 117.1)
XYZxyz(42.8373, 53.9949, 14.6426)
Luminance0.5399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CC4A #5D4ACC
analogous
#CC9E4A #B9CC4A #78CC4A
triadic
#B9CC4A #4AB9CC #CC4AB9
tetradic
#B9CC4A #4ACC9E #5D4ACC #CC4A78
square
#B9CC4A #4ACC9E #5D4ACC #CC4A78
split-complementary
#B9CC4A #4A78CC #9E4ACC
monochromatic
#6D7922 #97A930 #B9CC4A #CBD97A #DEE7A9

Accessibility & contrast

On white

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

On black

11.80
#B9CC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CC4A
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CC4A#FFFFFF#000000##000000
##B9CC4A1.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C239
Deuteranopia (green-blind)
#D7C353
Tritanopia (blue-blind)
#C4C1B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b9cc4a;
/* rgb */ color: rgb(185, 204, 74);
/* oklch */ color: oklch(80.6% 0.154 117.1);
Tailwind
colors: {
  custom: {
    50: '#d1db83',
    500: '#b9cc4a',
    950: '#000000',
  },
}
SCSS
$custom: #b9cc4a;
$custom-light: #d1db83;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cc4a",
  "rgb": {
    "r": 185,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 68.769,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80611,
    "c": 0.15424,
    "h": 117.1
  },
  "luminance": 0.53994
}

Semantic roles & 50–950 ramp

primary
#B9CC4A
secondary
#433982
accent
#48DF5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B9CC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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