#B9CF31#B9CF31

#B9CF31 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.1% C 0.173 H 117.6°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#B9CF31
RGBrgb(185, 207, 49)
HSLhsl(68, 62%, 50%)
HSVhsv(68, 76%, 81%)
CMYKcmyk(10.6%, 0%, 76.3%, 18.8%)
CIE-LABlab(79.13, -26.60, 70.06)
CIE-LCHlch(79.13, 74.93, 110.79°)
OKLaboklab(81.1% -0.0802 0.1537)
OKLCHoklch(81.1% 0.173 117.6)
XYZxyz(42.8758, 55.1622, 11.2938)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CF31 #4731CF
analogous
#CF9631 #B9CF31 #6ACF31
triadic
#B9CF31 #31B9CF #CF31B9
tetradic
#B9CF31 #31CF96 #4731CF #CF316A
square
#B9CF31 #31CF96 #4731CF #CF316A
split-complementary
#B9CF31 #316ACF #9631CF
monochromatic
#616C19 #8D9E25 #B9CF31 #CADB63 #DBE694

Accessibility & contrast

On white

1.75
#B9CF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#B9CF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CF31
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CF31#FFFFFF#000000##000000
##B9CF311.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC401
Deuteranopia (green-blind)
#DBC540
Tritanopia (blue-blind)
#C5C3B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b9cf31;
/* rgb */ color: rgb(185, 207, 49);
/* oklch */ color: oklch(81.1% 0.173 117.6);
Tailwind
colors: {
  custom: {
    50: '#d2dd76',
    500: '#b9cf31',
    950: '#000000',
  },
}
SCSS
$custom: #b9cf31;
$custom-light: #d2dd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cf31",
  "rgb": {
    "r": 185,
    "g": 207,
    "b": 49
  },
  "hsl": {
    "h": 68.354,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.81104,
    "c": 0.17339,
    "h": 117.6
  },
  "luminance": 0.55162
}

Semantic roles & 50–950 ramp

primary
#B9CF31
secondary
#382E76
accent
#43E559
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#151509
muted
#84847D

Preview Lab

Preview with #B9CF31

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

Preview Lab → · Contrast checker → · Palette generator →

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