#B9CF45#B9CF45

#B9CF45 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.2% C 0.161 H 117.9°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#B9CF45
RGBrgb(185, 207, 69)
HSLhsl(70, 59%, 54%)
HSVhsv(70, 67%, 81%)
CMYKcmyk(10.6%, 0%, 66.7%, 18.8%)
CIE-LABlab(79.25, -25.57, 63.21)
CIE-LCHlch(79.25, 68.19, 112.02°)
OKLaboklab(81.24% -0.0756 0.1425)
OKLCHoklch(81.24% 0.161 117.9)
XYZxyz(43.3955, 55.3700, 14.0305)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9CF45 #5B45CF
analogous
#CFA045 #B9CF45 #74CF45
triadic
#B9CF45 #45B9CF #CF45B9
tetradic
#B9CF45 #45CFA0 #5B45CF #CF4574
square
#B9CF45 #45CFA0 #5B45CF #CF4574
split-complementary
#B9CF45 #4574CF #A045CF
monochromatic
#6C7A20 #97AB2C #B9CF45 #CBDC76 #DEE8A6

Accessibility & contrast

On white

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

On black

12.07
#B9CF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9CF45
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9CF45#FFFFFF#000000##000000
##B9CF451.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9cf45;
/* rgb */ color: rgb(185, 207, 69);
/* oklch */ color: oklch(81.2% 0.161 117.9);
Tailwind
colors: {
  custom: {
    50: '#d1dd80',
    500: '#b9cf45',
    950: '#000000',
  },
}
SCSS
$custom: #b9cf45;
$custom-light: #d1dd80;
$custom-dark: #000000;
JSON
{
  "hex": "#b9cf45",
  "rgb": {
    "r": 185,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 69.565,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81238,
    "c": 0.16136,
    "h": 117.9
  },
  "luminance": 0.5537
}

Semantic roles & 50–950 ramp

primary
#B9CF45
secondary
#423682
accent
#46E25F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B9CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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