#B9D742#B9D742

#B9D742 is a very light, vivid yellow-green. Relative luminance 0.593; OKLCH L 83.0% C 0.173 H 120.2°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#B9D742
RGBrgb(185, 215, 66)
HSLhsl(72, 65%, 55%)
HSVhsv(72, 69%, 84%)
CMYKcmyk(14%, 0%, 69.3%, 15.7%)
CIE-LABlab(81.46, -29.55, 66.58)
CIE-LCHlch(81.46, 72.84, 113.93°)
OKLaboklab(83.01% -0.0869 0.1492)
OKLCHoklch(83.01% 0.173 120.2)
XYZxyz(45.2922, 59.3087, 14.2149)
Luminance0.5931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D742 #6042D7
analogous
#D7AB42 #B9D742 #6ED742
triadic
#B9D742 #42B9D7 #D742B9
tetradic
#B9D742 #42D7AB #6042D7 #D7426E
square
#B9D742 #42D7AB #6042D7 #D7426E
split-complementary
#B9D742 #426ED7 #AB42D7
monochromatic
#6E831C #99B526 #B9D742 #CCE275 #DEECA7

Accessibility & contrast

On white

1.63
#B9D742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#B9D742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D742
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D742#FFFFFF#000000##000000
##B9D7421.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB2A
Deuteranopia (green-blind)
#E1CB4E
Tritanopia (blue-blind)
#C3CCBA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b9d742;
/* rgb */ color: rgb(185, 215, 66);
/* oklch */ color: oklch(83.0% 0.173 120.2);
Tailwind
colors: {
  custom: {
    50: '#d1e37f',
    500: '#b9d742',
    950: '#000000',
  },
}
SCSS
$custom: #b9d742;
$custom-light: #d1e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d742",
  "rgb": {
    "r": 185,
    "g": 215,
    "b": 66
  },
  "hsl": {
    "h": 72.081,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83007,
    "c": 0.17265,
    "h": 120.2
  },
  "luminance": 0.59309
}

Semantic roles & 50–950 ramp

primary
#B9D742
secondary
#45348A
accent
#40E862
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B9D742

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

Preview Lab → · Contrast checker → · Palette generator →

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