#B9CF40#B9CF40

#B9CF40 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.2% C 0.165 H 117.8°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#B9CF40
RGBrgb(185, 207, 64)
HSLhsl(69, 60%, 53%)
HSVhsv(69, 69%, 81%)
CMYKcmyk(10.6%, 0%, 69.1%, 18.8%)
CIE-LABlab(79.22, -25.86, 65.07)
CIE-LCHlch(79.22, 70.02, 111.67°)
OKLaboklab(81.2% -0.0769 0.1457)
OKLCHoklch(81.2% 0.165 117.8)
XYZxyz(43.2467, 55.3105, 13.2473)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CF40 #5640CF
analogous
#CF9E40 #B9CF40 #71CF40
triadic
#B9CF40 #40B9CF #CF40B9
tetradic
#B9CF40 #40CF9E #5640CF #CF4071
square
#B9CF40 #40CF9E #5640CF #CF4071
split-complementary
#B9CF40 #4071CF #9E40CF
monochromatic
#69771E #94A82A #B9CF40 #CBDB71 #DDE8A2

Accessibility & contrast

On white

1.74
#B9CF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#B9CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CF40
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CF40#FFFFFF#000000##000000
##B9CF401.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC429
Deuteranopia (green-blind)
#DAC54B
Tritanopia (blue-blind)
#C4C4B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b9cf40;
/* rgb */ color: rgb(185, 207, 64);
/* oklch */ color: oklch(81.2% 0.165 117.8);
Tailwind
colors: {
  custom: {
    50: '#d1dd7d',
    500: '#b9cf40',
    950: '#000000',
  },
}
SCSS
$custom: #b9cf40;
$custom-light: #d1dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cf40",
  "rgb": {
    "r": 185,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 69.231,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.812,
    "c": 0.16474,
    "h": 117.8
  },
  "luminance": 0.5531
}

Semantic roles & 50–950 ramp

primary
#B9CF40
secondary
#40347F
accent
#45E35D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B9CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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