#B8CF40#B8CF40

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

Color values

HEX#B8CF40
RGBrgb(184, 207, 64)
HSLhsl(70, 60%, 53%)
HSVhsv(70, 69%, 81%)
CMYKcmyk(11.1%, 0%, 69.1%, 18.8%)
CIE-LABlab(79.15, -26.27, 64.97)
CIE-LCHlch(79.15, 70.08, 112.01°)
OKLaboklab(81.12% -0.078 0.1455)
OKLCHoklch(81.12% 0.165 118.2)
XYZxyz(43.0063, 55.1865, 13.2360)
Luminance0.5519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CF40 #5740CF
analogous
#CF9E40 #B8CF40 #70CF40
triadic
#B8CF40 #40B8CF #CF40B8
tetradic
#B8CF40 #40CF9E #5740CF #CF4070
square
#B8CF40 #40CF9E #5740CF #CF4070
split-complementary
#B8CF40 #4070CF #9E40CF
monochromatic
#68771E #93A82A #B8CF40 #CADB71 #DCE8A2

Accessibility & contrast

On white

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

On black

12.04
#B8CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CF40
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CF40#FFFFFF#000000##000000
##B8CF401.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8cf40;
/* rgb */ color: rgb(184, 207, 64);
/* oklch */ color: oklch(81.1% 0.165 118.2);
Tailwind
colors: {
  custom: {
    50: '#d1dd7d',
    500: '#b8cf40',
    950: '#000000',
  },
}
SCSS
$custom: #b8cf40;
$custom-light: #d1dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cf40",
  "rgb": {
    "r": 184,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 69.65,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81124,
    "c": 0.16509,
    "h": 118.2
  },
  "luminance": 0.55186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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