#7E9A23#7E9A23

#7E9A23 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.3% C 0.143 H 122.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7E9A23
RGBrgb(126, 154, 35)
HSLhsl(74, 63%, 37%)
HSVhsv(74, 77%, 60%)
CMYKcmyk(18.2%, 0%, 77.3%, 39.6%)
CIE-LABlab(59.59, -26.13, 54.85)
CIE-LCHlch(59.59, 60.75, 115.48°)
OKLaboklab(64.27% -0.0768 0.121)
OKLCHoklch(64.27% 0.143 122.4)
XYZxyz(20.4635, 27.6681, 5.8522)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9A23 #3F239A
analogous
#9A7B23 #7E9A23 #429A23
triadic
#7E9A23 #237E9A #9A237E
tetradic
#7E9A23 #239A7B #3F239A #9A2342
square
#7E9A23 #239A7B #3F239A #9A2342
split-complementary
#7E9A23 #23429A #7B239A
monochromatic
#2C360C #556818 #7E9A23 #A7CC2E #BDDA5D

Accessibility & contrast

On white

3.21
#7E9A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7E9A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9A23
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9A23#FFFFFF#000000##000000
##7E9A231.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39004
Deuteranopia (green-blind)
#A08F2E
Tritanopia (blue-blind)
#859284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9a23;
/* rgb */ color: rgb(126, 154, 35);
/* oklch */ color: oklch(64.3% 0.143 122.4);
Tailwind
colors: {
  custom: {
    50: '#a7b768',
    500: '#7e9a23',
    950: '#000000',
  },
}
SCSS
$custom: #7e9a23;
$custom-light: #a7b768;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9a23",
  "rgb": {
    "r": 126,
    "g": 154,
    "b": 35
  },
  "hsl": {
    "h": 74.118,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64273,
    "c": 0.14334,
    "h": 122.4
  },
  "luminance": 0.27668
}

Semantic roles & 50–950 ramp

primary
#7E9A23
secondary
#725ABF
accent
#42E668
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9A23

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

Preview Lab → · Contrast checker → · Palette generator →

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