#B7CF45#B7CF45

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

Color values

HEX#B7CF45
RGBrgb(183, 207, 69)
HSLhsl(70, 59%, 54%)
HSVhsv(70, 67%, 81%)
CMYKcmyk(11.6%, 0%, 66.7%, 18.8%)
CIE-LABlab(79.11, -26.38, 63.02)
CIE-LCHlch(79.11, 68.32, 112.71°)
OKLaboklab(81.09% -0.0778 0.1422)
OKLCHoklch(81.09% 0.162 118.7)
XYZxyz(42.9162, 55.1229, 14.0080)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CF45 #5D45CF
analogous
#CFA245 #B7CF45 #72CF45
triadic
#B7CF45 #45B7CF #CF45B7
tetradic
#B7CF45 #45CFA2 #5D45CF #CF4572
square
#B7CF45 #45CFA2 #5D45CF #CF4572
split-complementary
#B7CF45 #4572CF #A245CF
monochromatic
#6A7A20 #95AB2C #B7CF45 #CADC76 #DDE8A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7CF45#FFFFFF#000000##000000
##B7CF451.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)
#DCC431
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#C1C4B3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #b7cf45;
/* rgb */ color: rgb(183, 207, 69);
/* oklch */ color: oklch(81.1% 0.162 118.7);
Tailwind
colors: {
  custom: {
    50: '#d0dd80',
    500: '#b7cf45',
    950: '#000000',
  },
}
SCSS
$custom: #b7cf45;
$custom-light: #d0dd80;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cf45",
  "rgb": {
    "r": 183,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 70.435,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81088,
    "c": 0.16206,
    "h": 118.7
  },
  "luminance": 0.55123
}

Semantic roles & 50–950 ramp

primary
#B7CF45
secondary
#433682
accent
#46E261
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B7CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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