#7FA623#7FA623

#7FA623 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.3% C 0.158 H 125.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7FA623
RGBrgb(127, 166, 35)
HSLhsl(78, 65%, 39%)
HSVhsv(78, 79%, 65%)
CMYKcmyk(23.5%, 0%, 78.9%, 34.9%)
CIE-LABlab(63.26, -31.48, 58.29)
CIE-LCHlch(63.26, 66.24, 118.37°)
OKLaboklab(67.27% -0.0914 0.1283)
OKLCHoklch(67.27% 0.158 125.5)
XYZxyz(22.6922, 31.9055, 6.5526)
Luminance0.3191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA623 #4A23A6
analogous
#A68C23 #7FA623 #3DA623
triadic
#7FA623 #237FA6 #A6237F
tetradic
#7FA623 #23A68C #4A23A6 #A6233D
square
#7FA623 #23A68C #4A23A6 #A6233D
split-complementary
#7FA623 #233DA6 #8C23A6
monochromatic
#32410E #587318 #7FA623 #A4D432 #BADF65

Accessibility & contrast

On white

2.85
#7FA623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#7FA623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA623
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA623#FFFFFF#000000##000000
##7FA6231.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B00
Deuteranopia (green-blind)
#AA9931
Tritanopia (blue-blind)
#859E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa623;
/* rgb */ color: rgb(127, 166, 35);
/* oklch */ color: oklch(67.3% 0.158 125.5);
Tailwind
colors: {
  custom: {
    50: '#a8c06a',
    500: '#7fa623',
    950: '#000000',
  },
}
SCSS
$custom: #7fa623;
$custom-light: #a8c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa623",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 77.863,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67266,
    "c": 0.15752,
    "h": 125.5
  },
  "luminance": 0.31906
}

Semantic roles & 50–950 ramp

primary
#7FA623
secondary
#7E61C4
accent
#40E872
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA623

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

Preview Lab → · Contrast checker → · Palette generator →

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