#7FBF38#7FBF38

#7FBF38 is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 73.5% C 0.176 H 131.6°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7FBF38
RGBrgb(127, 191, 56)
HSLhsl(88, 55%, 48%)
HSVhsv(88, 71%, 75%)
CMYKcmyk(33.5%, 0%, 70.7%, 25.1%)
CIE-LABlab(70.91, -41.54, 58.49)
CIE-LCHlch(70.91, 71.74, 125.38°)
OKLaboklab(73.52% -0.1172 0.1319)
OKLCHoklch(73.52% 0.177 131.6)
XYZxyz(28.0967, 42.0581, 10.3783)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FBF38 #7838BF
analogous
#BFBB38 #7FBF38 #3CBF38
triadic
#7FBF38 #387FBF #BF387F
tetradic
#7FBF38 #38BFBB #7838BF #BF383C
square
#7FBF38 #38BFBB #7838BF #BF383C
split-complementary
#7FBF38 #383CBF #BB38BF
monochromatic
#40601C #60902A #7FBF38 #9DD163 #BBDF92

Accessibility & contrast

On white

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

On black

9.41
#7FBF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FBF38
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FBF38#FFFFFF#000000##000000
##7FBF381.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B122
Deuteranopia (green-blind)
#BEAC44
Tritanopia (blue-blind)
#81B7A4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #7fbf38;
/* rgb */ color: rgb(127, 191, 56);
/* oklch */ color: oklch(73.5% 0.176 131.6);
Tailwind
colors: {
  custom: {
    50: '#a9d277',
    500: '#7fbf38',
    950: '#000000',
  },
}
SCSS
$custom: #7fbf38;
$custom-light: #a9d277;
$custom-dark: #000000;
JSON
{
  "hex": "#7fbf38",
  "rgb": {
    "r": 127,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 88.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73522,
    "c": 0.1765,
    "h": 131.6
  },
  "luminance": 0.42059
}

Semantic roles & 50–950 ramp

primary
#7FBF38
secondary
#A889CA
accent
#4ADE90
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#101409
muted
#7F827B

Preview Lab

Preview with #7FBF38

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

Preview Lab → · Contrast checker → · Palette generator →

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