#7FA123#7FA123

#7FA123 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.0% C 0.151 H 124.1°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7FA123
RGBrgb(127, 161, 35)
HSLhsl(76, 64%, 38%)
HSVhsv(76, 78%, 63%)
CMYKcmyk(21.1%, 0%, 78.3%, 36.9%)
CIE-LABlab(61.76, -29.11, 56.90)
CIE-LCHlch(61.76, 63.91, 117.09°)
OKLaboklab(66.05% -0.085 0.1253)
OKLCHoklch(66.05% 0.151 124.1)
XYZxyz(21.8009, 30.1229, 6.2555)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA123 #4523A1
analogous
#A18423 #7FA123 #40A123
triadic
#7FA123 #237FA1 #A1237F
tetradic
#7FA123 #23A184 #4523A1 #A12340
square
#7FA123 #23A184 #4523A1 #A12340
split-complementary
#7FA123 #2340A1 #8423A1
monochromatic
#303C0D #576F18 #7FA123 #A6D22F #BCDD62

Accessibility & contrast

On white

2.99
#7FA123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7FA123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA123
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA123#FFFFFF#000000##000000
##7FA1231.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#85998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa123;
/* rgb */ color: rgb(127, 161, 35);
/* oklch */ color: oklch(66.0% 0.151 124.1);
Tailwind
colors: {
  custom: {
    50: '#a8bd69',
    500: '#7fa123',
    950: '#000000',
  },
}
SCSS
$custom: #7fa123;
$custom-light: #a8bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa123",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 76.19,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66047,
    "c": 0.15142,
    "h": 124.1
  },
  "luminance": 0.30123
}

Semantic roles & 50–950 ramp

primary
#7FA123
secondary
#795EC2
accent
#41E76E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA123

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

Preview Lab → · Contrast checker → · Palette generator →

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