#7E9730#7E9730

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

Color values

HEX#7E9730
RGBrgb(126, 151, 48)
HSLhsl(75, 52%, 39%)
HSVhsv(75, 68%, 59%)
CMYKcmyk(16.6%, 0%, 68.2%, 40.8%)
CIE-LABlab(58.77, -23.89, 49.18)
CIE-LCHlch(58.77, 54.67, 115.91°)
OKLaboklab(63.64% -0.0695 0.1112)
OKLCHoklch(63.64% 0.131 122)
XYZxyz(20.2045, 26.7822, 6.9008)
Luminance0.2678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9730 #493097
analogous
#977D30 #7E9730 #4B9730
triadic
#7E9730 #307E97 #97307E
tetradic
#7E9730 #30977D #493097 #97304B
square
#7E9730 #30977D #493097 #97304B
split-complementary
#7E9730 #304B97 #7D3097
monochromatic
#313A12 #576921 #7E9730 #A3C341 #BAD270

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9730#FFFFFF#000000##000000
##7E97301.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)
#A08E21
Deuteranopia (green-blind)
#9D8D38
Tritanopia (blue-blind)
#858F82
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9730;
/* rgb */ color: rgb(126, 151, 48);
/* oklch */ color: oklch(63.6% 0.131 122.0);
Tailwind
colors: {
  custom: {
    50: '#a6b56e',
    500: '#7e9730',
    950: '#000000',
  },
}
SCSS
$custom: #7e9730;
$custom-light: #a6b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9730",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 74.563,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63641,
    "c": 0.13115,
    "h": 122
  },
  "luminance": 0.26782
}

Semantic roles & 50–950 ramp

primary
#7E9730
secondary
#7D6AB9
accent
#4DDB6F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9730

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

Preview Lab → · Contrast checker → · Palette generator →

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