#7FB230#7FB230

#7FB230 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.3% C 0.165 H 128.9°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7FB230
RGBrgb(127, 178, 48)
HSLhsl(84, 58%, 44%)
HSVhsv(84, 73%, 70%)
CMYKcmyk(28.7%, 0%, 73%, 30.2%)
CIE-LABlab(66.95, -36.30, 57.45)
CIE-LCHlch(66.95, 67.96, 122.29°)
OKLaboklab(70.28% -0.1036 0.1286)
OKLCHoklch(70.28% 0.165 128.9)
XYZxyz(25.2062, 36.5656, 8.5256)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB230 #6330B2
analogous
#B2A430 #7FB230 #3EB230
triadic
#7FB230 #307FB2 #B2307F
tetradic
#7FB230 #30B2A4 #6330B2 #B2303E
square
#7FB230 #30B2A4 #6330B2 #B2303E
split-complementary
#7FB230 #303EB2 #A430B2
monochromatic
#3A5216 #5D8223 #7FB230 #9DD050 #B8DD80

Accessibility & contrast

On white

2.53
#7FB230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#7FB230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB230
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB230#FFFFFF#000000##000000
##7FB2301.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA518
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#83AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb230;
/* rgb */ color: rgb(127, 178, 48);
/* oklch */ color: oklch(70.3% 0.165 128.9);
Tailwind
colors: {
  custom: {
    50: '#a8c971',
    500: '#7fb230',
    950: '#000000',
  },
}
SCSS
$custom: #7fb230;
$custom-light: #a8c971;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb230",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 83.538,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7028,
    "c": 0.16513,
    "h": 128.9
  },
  "luminance": 0.36566
}

Semantic roles & 50–950 ramp

primary
#7FB230
secondary
#9778C6
accent
#47E183
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB230

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

Preview Lab → · Contrast checker → · Palette generator →

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