#7FB938#7FB938

#7FB938 is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.1% C 0.169 H 130.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7FB938
RGBrgb(127, 185, 56)
HSLhsl(87, 54%, 47%)
HSVhsv(87, 70%, 73%)
CMYKcmyk(31.4%, 0%, 69.7%, 27.5%)
CIE-LABlab(69.11, -38.91, 56.65)
CIE-LCHlch(69.11, 68.73, 124.49°)
OKLaboklab(72.05% -0.1101 0.1281)
OKLCHoklch(72.05% 0.169 130.7)
XYZxyz(26.8150, 39.4946, 9.9510)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB938 #7238B9
analogous
#B9B338 #7FB938 #3EB938
triadic
#7FB938 #387FB9 #B9387F
tetradic
#7FB938 #38B9B3 #7238B9 #B9383E
square
#7FB938 #38B9B3 #7238B9 #B9383E
split-complementary
#7FB938 #383EB9 #B338B9
monochromatic
#3E5B1C #5F8A2A #7FB938 #9DCF5F #BADD8E

Accessibility & contrast

On white

2.36
#7FB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#7FB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB938
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB938#FFFFFF#000000##000000
##7FB9381.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB24
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#82B19F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fb938;
/* rgb */ color: rgb(127, 185, 56);
/* oklch */ color: oklch(72.1% 0.169 130.7);
Tailwind
colors: {
  custom: {
    50: '#a8ce76',
    500: '#7fb938',
    950: '#000000',
  },
}
SCSS
$custom: #7fb938;
$custom-light: #a8ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb938",
  "rgb": {
    "r": 127,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 86.977,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72053,
    "c": 0.16888,
    "h": 130.7
  },
  "luminance": 0.39495
}

Semantic roles & 50–950 ramp

primary
#7FB938
secondary
#A385C8
accent
#4BDD8D
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB938

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

Preview Lab → · Contrast checker → · Palette generator →

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