#B7CF40#B7CF40

#B7CF40 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 81.0% C 0.165 H 118.5°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#B7CF40
RGBrgb(183, 207, 64)
HSLhsl(70, 60%, 53%)
HSVhsv(70, 69%, 81%)
CMYKcmyk(11.6%, 0%, 69.1%, 18.8%)
CIE-LABlab(79.08, -26.67, 64.88)
CIE-LCHlch(79.08, 70.15, 112.35°)
OKLaboklab(81.05% -0.079 0.1453)
OKLCHoklch(81.05% 0.165 118.5)
XYZxyz(42.7675, 55.0634, 13.2248)
Luminance0.5506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CF40 #5840CF
analogous
#CF9F40 #B7CF40 #6FCF40
triadic
#B7CF40 #40B7CF #CF40B7
tetradic
#B7CF40 #40CF9F #5840CF #CF406F
square
#B7CF40 #40CF9F #5840CF #CF406F
split-complementary
#B7CF40 #406FCF #9F40CF
monochromatic
#68771E #93A82A #B7CF40 #C9DB71 #DCE8A2

Accessibility & contrast

On white

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

On black

12.01
#B7CF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CF40
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CF40#FFFFFF#000000##000000
##B7CF401.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7cf40;
/* rgb */ color: rgb(183, 207, 64);
/* oklch */ color: oklch(81.0% 0.165 118.5);
Tailwind
colors: {
  custom: {
    50: '#d0dd7d',
    500: '#b7cf40',
    950: '#000000',
  },
}
SCSS
$custom: #b7cf40;
$custom-light: #d0dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cf40",
  "rgb": {
    "r": 183,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 70.07,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.8105,
    "c": 0.16545,
    "h": 118.5
  },
  "luminance": 0.55063
}

Semantic roles & 50–950 ramp

primary
#B7CF40
secondary
#41347F
accent
#45E35F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CF40

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

Preview Lab → · Contrast checker → · Palette generator →

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