#7FA23F#7FA23F

#7FA23F is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.5% C 0.133 H 126.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7FA23F
RGBrgb(127, 162, 63)
HSLhsl(81, 44%, 44%)
HSVhsv(81, 61%, 64%)
CMYKcmyk(21.6%, 0%, 61.1%, 36.5%)
CIE-LABlab(62.26, -27.72, 46.42)
CIE-LCHlch(62.26, 54.06, 120.84°)
OKLaboklab(66.52% -0.0787 0.1074)
OKLCHoklch(66.52% 0.133 126.2)
XYZxyz(22.5700, 30.7113, 9.4404)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA23F #623FA2
analogous
#A2943F #7FA23F #4EA23F
triadic
#7FA23F #3F7FA2 #A23F7F
tetradic
#7FA23F #3FA294 #623FA2 #A23F4E
square
#7FA23F #3FA294 #623FA2 #A23F4E
split-complementary
#7FA23F #3F4EA2 #943FA2
monochromatic
#3A4A1D #5C762E #7FA23F #9EC05E #B8D18A

Accessibility & contrast

On white

2.94
#7FA23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#7FA23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA23F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA23F#FFFFFF#000000##000000
##7FA23F1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9834
Deuteranopia (green-blind)
#A59646
Tritanopia (blue-blind)
#849B8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa23f;
/* rgb */ color: rgb(127, 162, 63);
/* oklch */ color: oklch(66.5% 0.133 126.2);
Tailwind
colors: {
  custom: {
    50: '#a7bd78',
    500: '#7fa23f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa23f;
$custom-light: #a7bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa23f",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 63
  },
  "hsl": {
    "h": 81.212,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66519,
    "c": 0.13316,
    "h": 126.2
  },
  "luminance": 0.30712
}

Semantic roles & 50–950 ramp

primary
#7FA23F
secondary
#9681BC
accent
#54D481
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA23F

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

Preview Lab → · Contrast checker → · Palette generator →

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