#7FB23D#7FB23D

#7FB23D is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.4% C 0.156 H 129.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7FB23D
RGBrgb(127, 178, 61)
HSLhsl(86, 49%, 47%)
HSVhsv(86, 66%, 70%)
CMYKcmyk(28.7%, 0%, 65.7%, 30.2%)
CIE-LABlab(67.04, -35.40, 52.49)
CIE-LCHlch(67.04, 63.31, 124.00°)
OKLaboklab(70.39% -0.1 0.12)
OKLCHoklch(70.39% 0.156 129.8)
XYZxyz(25.5149, 36.6890, 10.1514)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB23D #703DB2
analogous
#B2AB3D #7FB23D #45B23D
triadic
#7FB23D #3D7FB2 #B23D7F
tetradic
#7FB23D #3DB2AB #703DB2 #B23D45
square
#7FB23D #3DB2AB #703DB2 #B23D45
split-complementary
#7FB23D #3D45B2 #AB3DB2
monochromatic
#3E571E #5E842D #7FB23D #9DC963 #B9D990

Accessibility & contrast

On white

2.52
#7FB23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#7FB23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB23D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB23D#FFFFFF#000000##000000
##7FB23D1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA62E
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#82AB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb23d;
/* rgb */ color: rgb(127, 178, 61);
/* oklch */ color: oklch(70.4% 0.156 129.8);
Tailwind
colors: {
  custom: {
    50: '#a8c978',
    500: '#7fb23d',
    950: '#000000',
  },
}
SCSS
$custom: #7fb23d;
$custom-light: #a8c978;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb23d",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 61
  },
  "hsl": {
    "h": 86.154,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.70386,
    "c": 0.15625,
    "h": 129.8
  },
  "luminance": 0.3669
}

Semantic roles & 50–950 ramp

primary
#7FB23D
secondary
#A187C4
accent
#4FD98B
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB23D

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

Preview Lab → · Contrast checker → · Palette generator →

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