#7FA23C#7FA23C

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

Color values

HEX#7FA23C
RGBrgb(127, 162, 60)
HSLhsl(81, 46%, 44%)
HSVhsv(81, 63%, 64%)
CMYKcmyk(21.6%, 0%, 63%, 36.5%)
CIE-LABlab(62.24, -27.97, 47.73)
CIE-LCHlch(62.24, 55.32, 120.37°)
OKLaboklab(66.49% -0.0797 0.1099)
OKLCHoklch(66.49% 0.136 126)
XYZxyz(22.4884, 30.6786, 9.0109)
Luminance0.3068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA23C #5F3CA2
analogous
#A2923C #7FA23C #4CA23C
triadic
#7FA23C #3C7FA2 #A23C7F
tetradic
#7FA23C #3CA292 #5F3CA2 #A23C4C
square
#7FA23C #3CA292 #5F3CA2 #A23C4C
split-complementary
#7FA23C #3C4CA2 #923CA2
monochromatic
#39491B #5C752B #7FA23C #9EC259 #B8D286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA23C#FFFFFF#000000##000000
##7FA23C1.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)
#AA9830
Deuteranopia (green-blind)
#A59643
Tritanopia (blue-blind)
#849B8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa23c;
/* rgb */ color: rgb(127, 162, 60);
/* oklch */ color: oklch(66.5% 0.136 126.0);
Tailwind
colors: {
  custom: {
    50: '#a7bd76',
    500: '#7fa23c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa23c;
$custom-light: #a7bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa23c",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 80.588,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66487,
    "c": 0.13571,
    "h": 126
  },
  "luminance": 0.30679
}

Semantic roles & 50–950 ramp

primary
#7FA23C
secondary
#937DBC
accent
#52D67F
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA23C

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

Preview Lab → · Contrast checker → · Palette generator →

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