#B1CF38#B1CF38

#B1CF38 is a light, vivid yellow-green. Relative luminance 0.543; OKLCH L 80.6% C 0.173 H 120.4°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#B1CF38
RGBrgb(177, 207, 56)
HSLhsl(72, 61%, 52%)
HSVhsv(72, 73%, 81%)
CMYKcmyk(14.5%, 0%, 72.9%, 18.8%)
CIE-LABlab(78.61, -29.53, 67.11)
CIE-LCHlch(78.61, 73.33, 113.75°)
OKLaboklab(80.55% -0.0873 0.1489)
OKLCHoklch(80.55% 0.173 120.4)
XYZxyz(41.1588, 54.2584, 12.0452)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1CF38 #5638CF
analogous
#CFA238 #B1CF38 #65CF38
triadic
#B1CF38 #38B1CF #CF38B1
tetradic
#B1CF38 #38CFA2 #5638CF #CF3865
square
#B1CF38 #38CFA2 #5638CF #CF3865
split-complementary
#B1CF38 #3865CF #A238CF
monochromatic
#60711B #8AA327 #B1CF38 #C4DB69 #D8E79B

Accessibility & contrast

On white

1.77
#B1CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#B1CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1CF38
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1CF38#FFFFFF#000000##000000
##B1CF381.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC319
Deuteranopia (green-blind)
#D8C345
Tritanopia (blue-blind)
#BBC4B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b1cf38;
/* rgb */ color: rgb(177, 207, 56);
/* oklch */ color: oklch(80.6% 0.173 120.4);
Tailwind
colors: {
  custom: {
    50: '#ccdd79',
    500: '#b1cf38',
    950: '#000000',
  },
}
SCSS
$custom: #b1cf38;
$custom-light: #ccdd79;
$custom-dark: #000000;
JSON
{
  "hex": "#b1cf38",
  "rgb": {
    "r": 177,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 71.921,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80554,
    "c": 0.17263,
    "h": 120.4
  },
  "luminance": 0.54258
}

Semantic roles & 50–950 ramp

primary
#B1CF38
secondary
#40317A
accent
#44E463
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B1CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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