#7E9E2C#7E9E2C

#7E9E2C is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.3% C 0.143 H 124.1°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7E9E2C
RGBrgb(126, 158, 44)
HSLhsl(77, 56%, 40%)
HSVhsv(77, 72%, 62%)
CMYKcmyk(20.3%, 0%, 72.2%, 38%)
CIE-LABlab(60.84, -27.59, 52.86)
CIE-LCHlch(60.84, 59.63, 117.56°)
OKLaboklab(65.31% -0.08 0.1183)
OKLCHoklch(65.31% 0.143 124.1)
XYZxyz(21.2859, 29.0710, 6.8722)
Luminance0.2907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9E2C #4C2C9E
analogous
#9E852C #7E9E2C #459E2C
triadic
#7E9E2C #2C7E9E #9E2C7E
tetradic
#7E9E2C #2C9E85 #4C2C9E #9E2C45
square
#7E9E2C #2C9E85 #4C2C9E #9E2C45
split-complementary
#7E9E2C #2C459E #852C9E
monochromatic
#323E11 #586E1F #7E9E2C #A2C93E #B9D76E

Accessibility & contrast

On white

3.08
#7E9E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#7E9E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9E2C
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9E2C#FFFFFF#000000##000000
##7E9E2C1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79418
Deuteranopia (green-blind)
#A39236
Tritanopia (blue-blind)
#849688
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9e2c;
/* rgb */ color: rgb(126, 158, 44);
/* oklch */ color: oklch(65.3% 0.143 124.1);
Tailwind
colors: {
  custom: {
    50: '#a7ba6d',
    500: '#7e9e2c',
    950: '#000000',
  },
}
SCSS
$custom: #7e9e2c;
$custom-light: #a7ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9e2c",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 76.842,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65305,
    "c": 0.14286,
    "h": 124.1
  },
  "luminance": 0.29071
}

Semantic roles & 50–950 ramp

primary
#7E9E2C
secondary
#8068BE
accent
#48E073
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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