#7E9945#7E9945

#7E9945 is a light, moderate yellow-green. Relative luminance 0.276; OKLCH L 64.3% C 0.116 H 124.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7E9945
RGBrgb(126, 153, 69)
HSLhsl(79, 38%, 44%)
HSVhsv(79, 55%, 60%)
CMYKcmyk(17.6%, 0%, 54.9%, 40%)
CIE-LABlab(59.57, -23.12, 40.49)
CIE-LCHlch(59.57, 46.63, 119.73°)
OKLaboklab(64.35% -0.0653 0.0954)
OKLCHoklch(64.35% 0.116 124.4)
XYZxyz(21.0696, 27.6476, 9.8556)
Luminance0.2765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9945 #604599
analogous
#998A45 #7E9945 #549945
triadic
#7E9945 #457E99 #99457E
tetradic
#7E9945 #45998A #604599 #994554
square
#7E9945 #45998A #604599 #994554
split-complementary
#7E9945 #455499 #8A4599
monochromatic
#39451F #5B6F32 #7E9945 #9DB963 #B7CC8D

Accessibility & contrast

On white

3.22
#7E9945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9945#FFFFFF#000000##000000
##7E99451.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1903D
Deuteranopia (green-blind)
#9D8F4A
Tritanopia (blue-blind)
#839286
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9945;
/* rgb */ color: rgb(126, 153, 69);
/* oklch */ color: oklch(64.3% 0.116 124.4);
Tailwind
colors: {
  custom: {
    50: '#a5b77b',
    500: '#7e9945',
    950: '#000000',
  },
}
SCSS
$custom: #7e9945;
$custom-light: #a5b77b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9945",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 69
  },
  "hsl": {
    "h": 79.286,
    "s": 37.838,
    "l": 43.529
  },
  "oklch": {
    "l": 0.64348,
    "c": 0.11558,
    "h": 124.4
  },
  "luminance": 0.27648
}

Semantic roles & 50–950 ramp

primary
#7E9945
secondary
#9483B7
accent
#5ACE7F
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #7E9945

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

Preview Lab → · Contrast checker → · Palette generator →

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