#7E9734#7E9734

#7E9734 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.7% C 0.128 H 122.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7E9734
RGBrgb(126, 151, 52)
HSLhsl(75, 49%, 40%)
HSVhsv(75, 66%, 59%)
CMYKcmyk(16.6%, 0%, 65.6%, 40.8%)
CIE-LABlab(58.80, -23.60, 47.52)
CIE-LCHlch(58.80, 53.06, 116.41°)
OKLaboklab(63.68% -0.0683 0.1083)
OKLCHoklch(63.68% 0.128 122.2)
XYZxyz(20.2908, 26.8167, 7.3553)
Luminance0.2682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9734 #4D3497
analogous
#977F34 #7E9734 #4C9734
triadic
#7E9734 #347E97 #97347E
tetradic
#7E9734 #34977F #4D3497 #97344C
square
#7E9734 #34977F #4D3497 #97344C
split-complementary
#7E9734 #344C97 #7F3497
monochromatic
#323C15 #586924 #7E9734 #A2C048 #B9D076

Accessibility & contrast

On white

3.30
#7E9734 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#7E9734 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9734
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9734#FFFFFF#000000##000000
##7E97341.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E27
Deuteranopia (green-blind)
#9D8D3B
Tritanopia (blue-blind)
#848F83
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9734;
/* rgb */ color: rgb(126, 151, 52);
/* oklch */ color: oklch(63.7% 0.128 122.2);
Tailwind
colors: {
  custom: {
    50: '#a6b571',
    500: '#7e9734',
    950: '#000000',
  },
}
SCSS
$custom: #7e9734;
$custom-light: #a6b571;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9734",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 52
  },
  "hsl": {
    "h": 75.152,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63678,
    "c": 0.12806,
    "h": 122.2
  },
  "luminance": 0.26817
}

Semantic roles & 50–950 ramp

primary
#7E9734
secondary
#816FB8
accent
#4FD872
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9734

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

Preview Lab → · Contrast checker → · Palette generator →

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