#7E9A2D#7E9A2D

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

Color values

HEX#7E9A2D
RGBrgb(126, 154, 45)
HSLhsl(75, 55%, 39%)
HSVhsv(75, 71%, 60%)
CMYKcmyk(18.2%, 0%, 70.8%, 39.6%)
CIE-LABlab(59.65, -25.57, 51.28)
CIE-LCHlch(59.65, 57.30, 116.50°)
OKLaboklab(64.34% -0.0744 0.1152)
OKLCHoklch(64.34% 0.137 122.9)
XYZxyz(20.6337, 27.7362, 6.7487)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9A2D #492D9A
analogous
#9A802D #7E9A2D #489A2D
triadic
#7E9A2D #2D7E9A #9A2D7E
tetradic
#7E9A2D #2D9A80 #492D9A #9A2D48
square
#7E9A2D #2D9A80 #492D9A #9A2D48
split-complementary
#7E9A2D #2D489A #802D9A
monochromatic
#313B11 #576B1F #7E9A2D #A3C73E #BAD46D

Accessibility & contrast

On white

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

On black

6.55
#7E9A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9A2D
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9A2D#FFFFFF#000000##000000
##7E9A2D1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901B
Deuteranopia (green-blind)
#9F9036
Tritanopia (blue-blind)
#849284
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e9a2d;
/* rgb */ color: rgb(126, 154, 45);
/* oklch */ color: oklch(64.3% 0.137 122.9);
Tailwind
colors: {
  custom: {
    50: '#a6b76d',
    500: '#7e9a2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e9a2d;
$custom-light: #a6b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9a2d",
  "rgb": {
    "r": 126,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 75.413,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64342,
    "c": 0.13713,
    "h": 122.9
  },
  "luminance": 0.27736
}

Semantic roles & 50–950 ramp

primary
#7E9A2D
secondary
#7D67BB
accent
#4ADE70
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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