#7FA823#7FA823

#7FA823 is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.8% C 0.160 H 126.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7FA823
RGBrgb(127, 168, 35)
HSLhsl(78, 66%, 40%)
HSVhsv(78, 79%, 66%)
CMYKcmyk(24.4%, 0%, 79.2%, 34.1%)
CIE-LABlab(63.87, -32.41, 58.84)
CIE-LCHlch(63.87, 67.18, 118.85°)
OKLaboklab(67.75% -0.094 0.1294)
OKLCHoklch(67.75% 0.16 126)
XYZxyz(23.0586, 32.6383, 6.6748)
Luminance0.3264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA823 #4C23A8
analogous
#A88E23 #7FA823 #3DA823
triadic
#7FA823 #237FA8 #A8237F
tetradic
#7FA823 #23A88E #4C23A8 #A8233D
square
#7FA823 #23A88E #4C23A8 #A8233D
split-complementary
#7FA823 #233DA8 #8E23A8
monochromatic
#32430E #597518 #7FA823 #A3D534 #BADF66

Accessibility & contrast

On white

2.79
#7FA823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#7FA823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA823
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA823#FFFFFF#000000##000000
##7FA8231.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AC9A31
Tritanopia (blue-blind)
#85A090
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa823;
/* rgb */ color: rgb(127, 168, 35);
/* oklch */ color: oklch(67.8% 0.160 126.0);
Tailwind
colors: {
  custom: {
    50: '#a8c26a',
    500: '#7fa823',
    950: '#000000',
  },
}
SCSS
$custom: #7fa823;
$custom-light: #a8c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa823",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 78.496,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67754,
    "c": 0.15995,
    "h": 126
  },
  "luminance": 0.32639
}

Semantic roles & 50–950 ramp

primary
#7FA823
secondary
#8062C5
accent
#3FE873
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA823

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

Preview Lab → · Contrast checker → · Palette generator →

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