#7FBC38#7FBC38

#7FBC38 is a light, vivid yellow-green. Relative luminance 0.408; OKLCH L 72.8% C 0.173 H 131.2°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#7FBC38
RGBrgb(127, 188, 56)
HSLhsl(88, 54%, 48%)
HSVhsv(88, 70%, 74%)
CMYKcmyk(32.4%, 0%, 70.2%, 26.3%)
CIE-LABlab(70.01, -40.23, 57.57)
CIE-LCHlch(70.01, 70.24, 124.95°)
OKLaboklab(72.79% -0.1137 0.13)
OKLCHoklch(72.79% 0.173 131.2)
XYZxyz(27.4492, 40.7630, 10.1624)
Luminance0.4076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBC38 #7538BC
analogous
#BCB738 #7FBC38 #3DBC38
triadic
#7FBC38 #387FBC #BC387F
tetradic
#7FBC38 #38BCB7 #7538BC #BC383D
square
#7FBC38 #38BCB7 #7538BC #BC383D
split-complementary
#7FBC38 #383DBC #B738BC
monochromatic
#3F5E1C #5F8D2A #7FBC38 #9DD061 #BADE90

Accessibility & contrast

On white

2.29
#7FBC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#7FBC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBC38
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBC38#FFFFFF#000000##000000
##7FBC381.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE23
Deuteranopia (green-blind)
#BCAA44
Tritanopia (blue-blind)
#81B4A2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #7fbc38;
/* rgb */ color: rgb(127, 188, 56);
/* oklch */ color: oklch(72.8% 0.173 131.2);
Tailwind
colors: {
  custom: {
    50: '#a8d076',
    500: '#7fbc38',
    950: '#000000',
  },
}
SCSS
$custom: #7fbc38;
$custom-light: #a8d076;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbc38",
  "rgb": {
    "r": 127,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 87.727,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72787,
    "c": 0.1727,
    "h": 131.2
  },
  "luminance": 0.40764
}

Semantic roles & 50–950 ramp

primary
#7FBC38
secondary
#A587C9
accent
#4ADD8E
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7FBC38

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

Preview Lab → · Contrast checker → · Palette generator →

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