#7FBF30#7FBF30

#7FBF30 is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 73.5% C 0.181 H 131.1°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7FBF30
RGBrgb(127, 191, 48)
HSLhsl(87, 60%, 47%)
HSVhsv(87, 75%, 75%)
CMYKcmyk(33.5%, 0%, 74.9%, 25.1%)
CIE-LABlab(70.86, -42.04, 61.28)
CIE-LCHlch(70.86, 74.31, 124.45°)
OKLaboklab(73.47% -0.1192 0.1366)
OKLCHoklch(73.47% 0.181 131.1)
XYZxyz(27.9165, 41.9860, 9.4290)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBF30 #7030BF
analogous
#BFB830 #7FBF30 #38BF30
triadic
#7FBF30 #307FBF #BF307F
tetradic
#7FBF30 #30BFB8 #7030BF #BF3038
square
#7FBF30 #30BFB8 #7030BF #BF3038
split-complementary
#7FBF30 #3038BF #B830BF
monochromatic
#3E5D17 #5E8E24 #7FBF30 #9DD557 #B9E188

Accessibility & contrast

On white

2.23
#7FBF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#7FBF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBF30
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBF30#FFFFFF#000000##000000
##7FBF301.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B010
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#81B7A4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #7fbf30;
/* rgb */ color: rgb(127, 191, 48);
/* oklch */ color: oklch(73.5% 0.181 131.1);
Tailwind
colors: {
  custom: {
    50: '#a9d273',
    500: '#7fbf30',
    950: '#000000',
  },
}
SCSS
$custom: #7fbf30;
$custom-light: #a9d273;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbf30",
  "rgb": {
    "r": 127,
    "g": 191,
    "b": 48
  },
  "hsl": {
    "h": 86.853,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73465,
    "c": 0.18128,
    "h": 131.1
  },
  "luminance": 0.41987
}

Semantic roles & 50–950 ramp

primary
#7FBF30
secondary
#A180CB
accent
#45E38C
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7FBF30

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

Preview Lab → · Contrast checker → · Palette generator →

#7FBF30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva