#B7CF42#B7CF42

#B7CF42 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 81.1% C 0.164 H 118.6°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#B7CF42
RGBrgb(183, 207, 66)
HSLhsl(70, 59%, 54%)
HSVhsv(70, 68%, 81%)
CMYKcmyk(11.6%, 0%, 68.1%, 18.8%)
CIE-LABlab(79.09, -26.56, 64.15)
CIE-LCHlch(79.09, 69.43, 112.49°)
OKLaboklab(81.07% -0.0785 0.1441)
OKLCHoklch(81.07% 0.164 118.6)
XYZxyz(42.8255, 55.0866, 13.5299)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CF42 #5A42CF
analogous
#CFA042 #B7CF42 #70CF42
triadic
#B7CF42 #42B7CF #CF42B7
tetradic
#B7CF42 #42CFA0 #5A42CF #CF4270
square
#B7CF42 #42CFA0 #5A42CF #CF4270
split-complementary
#B7CF42 #4270CF #A042CF
monochromatic
#69781F #93A92B #B7CF42 #CADB73 #DCE8A4

Accessibility & contrast

On white

1.75
#B7CF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#B7CF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CF42
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CF42#FFFFFF#000000##000000
##B7CF421.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC42C
Deuteranopia (green-blind)
#DAC44D
Tritanopia (blue-blind)
#C2C4B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b7cf42;
/* rgb */ color: rgb(183, 207, 66);
/* oklch */ color: oklch(81.1% 0.164 118.6);
Tailwind
colors: {
  custom: {
    50: '#d0dd7e',
    500: '#b7cf42',
    950: '#000000',
  },
}
SCSS
$custom: #b7cf42;
$custom-light: #d0dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cf42",
  "rgb": {
    "r": 183,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 70.213,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81065,
    "c": 0.16413,
    "h": 118.6
  },
  "luminance": 0.55086
}

Semantic roles & 50–950 ramp

primary
#B7CF42
secondary
#423580
accent
#45E360
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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