#7EAF23#7EAF23

#7EAF23 is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.4% C 0.169 H 127.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7EAF23
RGBrgb(126, 175, 35)
HSLhsl(81, 67%, 41%)
HSVhsv(81, 80%, 69%)
CMYKcmyk(28%, 0%, 80%, 31.4%)
CIE-LABlab(65.92, -36.02, 60.70)
CIE-LCHlch(65.92, 70.58, 120.69°)
OKLaboklab(69.4% -0.1037 0.1334)
OKLCHoklch(69.4% 0.169 127.9)
XYZxyz(24.2376, 35.2163, 7.1102)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF23 #5423AF
analogous
#AF9A23 #7EAF23 #38AF23
triadic
#7EAF23 #237EAF #AF237E
tetradic
#7EAF23 #23AF9A #5423AF #AF2338
square
#7EAF23 #23AF9A #5423AF #AF2338
split-complementary
#7EAF23 #2338AF #9A23AF
monochromatic
#35490F #597C19 #7EAF23 #9FD738 #B8E16B

Accessibility & contrast

On white

2.61
#7EAF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#7EAF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAF23
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAF23#FFFFFF#000000##000000
##7EAF231.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#83A795
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7eaf23;
/* rgb */ color: rgb(126, 175, 35);
/* oklch */ color: oklch(69.4% 0.169 127.9);
Tailwind
colors: {
  custom: {
    50: '#a8c76b',
    500: '#7eaf23',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf23;
$custom-light: #a8c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf23",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 81,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69403,
    "c": 0.16895,
    "h": 127.9
  },
  "luminance": 0.35217
}

Semantic roles & 50–950 ramp

primary
#7EAF23
secondary
#8866C7
accent
#3EEA7A
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7EAF23

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

Preview Lab → · Contrast checker → · Palette generator →

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