#B8CF42#B8CF42

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

Color values

HEX#B8CF42
RGBrgb(184, 207, 66)
HSLhsl(70, 59%, 54%)
HSVhsv(70, 68%, 81%)
CMYKcmyk(11.1%, 0%, 68.1%, 18.8%)
CIE-LABlab(79.16, -26.15, 64.24)
CIE-LCHlch(79.16, 69.36, 112.15°)
OKLaboklab(81.14% -0.0775 0.1443)
OKLCHoklch(81.14% 0.164 118.2)
XYZxyz(43.0642, 55.2097, 13.5411)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CF42 #5942CF
analogous
#CF9F42 #B8CF42 #71CF42
triadic
#B8CF42 #42B8CF #CF42B8
tetradic
#B8CF42 #42CF9F #5942CF #CF4271
square
#B8CF42 #42CF9F #5942CF #CF4271
split-complementary
#B8CF42 #4271CF #9F42CF
monochromatic
#69781F #94A92B #B8CF42 #CADB73 #DDE8A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8CF42#FFFFFF#000000##000000
##B8CF421.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)
#DCC42C
Deuteranopia (green-blind)
#DAC54D
Tritanopia (blue-blind)
#C3C4B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b8cf42;
/* rgb */ color: rgb(184, 207, 66);
/* oklch */ color: oklch(81.1% 0.164 118.2);
Tailwind
colors: {
  custom: {
    50: '#d1dd7e',
    500: '#b8cf42',
    950: '#000000',
  },
}
SCSS
$custom: #b8cf42;
$custom-light: #d1dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cf42",
  "rgb": {
    "r": 184,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 69.787,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81139,
    "c": 0.16377,
    "h": 118.2
  },
  "luminance": 0.55209
}

Semantic roles & 50–950 ramp

primary
#B8CF42
secondary
#413580
accent
#45E35F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B8CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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