#7FA023#7FA023

#7FA023 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.8% C 0.150 H 123.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7FA023
RGBrgb(127, 160, 35)
HSLhsl(76, 64%, 38%)
HSVhsv(76, 78%, 63%)
CMYKcmyk(20.6%, 0%, 78.1%, 37.3%)
CIE-LABlab(61.46, -28.63, 56.62)
CIE-LCHlch(61.46, 63.44, 116.82°)
OKLaboklab(65.8% -0.0837 0.1247)
OKLCHoklch(65.8% 0.15 123.9)
XYZxyz(21.6268, 29.7748, 6.1975)
Luminance0.2978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA023 #4423A0
analogous
#A08223 #7FA023 #40A023
triadic
#7FA023 #237FA0 #A0237F
tetradic
#7FA023 #23A082 #4423A0 #A02340
square
#7FA023 #23A082 #4423A0 #A02340
split-complementary
#7FA023 #2340A0 #8223A0
monochromatic
#2F3C0D #576E18 #7FA023 #A6D12F #BCDC61

Accessibility & contrast

On white

3.02
#7FA023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7FA023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA023
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA023#FFFFFF#000000##000000
##7FA0231.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#869889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7fa023;
/* rgb */ color: rgb(127, 160, 35);
/* oklch */ color: oklch(65.8% 0.150 123.9);
Tailwind
colors: {
  custom: {
    50: '#a8bc69',
    500: '#7fa023',
    950: '#000000',
  },
}
SCSS
$custom: #7fa023;
$custom-light: #a8bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa023",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 75.84,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65803,
    "c": 0.1502,
    "h": 123.9
  },
  "luminance": 0.29775
}

Semantic roles & 50–950 ramp

primary
#7FA023
secondary
#785DC1
accent
#41E76D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA023

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

Preview Lab → · Contrast checker → · Palette generator →

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