#7E9D2C#7E9D2C

#7E9D2C is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 65.1% C 0.142 H 123.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#7E9D2C
RGBrgb(126, 157, 44)
HSLhsl(76, 56%, 39%)
HSVhsv(76, 72%, 62%)
CMYKcmyk(19.7%, 0%, 72%, 38.4%)
CIE-LABlab(60.54, -27.10, 52.56)
CIE-LCHlch(60.54, 59.14, 117.28°)
OKLaboklab(65.06% -0.0787 0.1177)
OKLCHoklch(65.06% 0.142 123.8)
XYZxyz(21.1160, 28.7313, 6.8156)
Luminance0.2873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9D2C #4B2C9D
analogous
#9D842C #7E9D2C #469D2C
triadic
#7E9D2C #2C7E9D #9D2C7E
tetradic
#7E9D2C #2C9D84 #4B2C9D #9D2C46
square
#7E9D2C #2C9D84 #4B2C9D #9D2C46
split-complementary
#7E9D2C #2C469D #842C9D
monochromatic
#313D11 #586D1F #7E9D2C #A3C93D #B9D66D

Accessibility & contrast

On white

3.11
#7E9D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#7E9D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9D2C
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9D2C#FFFFFF#000000##000000
##7E9D2C1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69319
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#849587
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e9d2c;
/* rgb */ color: rgb(126, 157, 44);
/* oklch */ color: oklch(65.1% 0.142 123.8);
Tailwind
colors: {
  custom: {
    50: '#a7ba6d',
    500: '#7e9d2c',
    950: '#000000',
  },
}
SCSS
$custom: #7e9d2c;
$custom-light: #a7ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9d2c",
  "rgb": {
    "r": 126,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 76.46,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65062,
    "c": 0.1416,
    "h": 123.8
  },
  "luminance": 0.28731
}

Semantic roles & 50–950 ramp

primary
#7E9D2C
secondary
#7F68BD
accent
#48E072
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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