#7E9530#7E9530

#7E9530 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 63.2% C 0.129 H 121.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7E9530
RGBrgb(126, 149, 48)
HSLhsl(74, 51%, 39%)
HSVhsv(74, 68%, 58%)
CMYKcmyk(15.4%, 0%, 67.8%, 41.6%)
CIE-LABlab(58.17, -22.89, 48.56)
CIE-LCHlch(58.17, 53.68, 115.24°)
OKLaboklab(63.16% -0.0667 0.1099)
OKLCHoklch(63.16% 0.129 121.2)
XYZxyz(19.8854, 26.1439, 6.7944)
Luminance0.2614 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9530 #473095
analogous
#957930 #7E9530 #4B9530
triadic
#7E9530 #307E95 #95307E
tetradic
#7E9530 #309579 #473095 #95304B
square
#7E9530 #309579 #473095 #95304B
split-complementary
#7E9530 #304B95 #793095
monochromatic
#303812 #576721 #7E9530 #A4C241 #BAD16F

Accessibility & contrast

On white

3.37
#7E9530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7E9530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9530
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9530#FFFFFF#000000##000000
##7E95301.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C22
Deuteranopia (green-blind)
#9B8C38
Tritanopia (blue-blind)
#858D81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9530;
/* rgb */ color: rgb(126, 149, 48);
/* oklch */ color: oklch(63.2% 0.129 121.2);
Tailwind
colors: {
  custom: {
    50: '#a6b46e',
    500: '#7e9530',
    950: '#000000',
  },
}
SCSS
$custom: #7e9530;
$custom-light: #a6b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9530",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 48
  },
  "hsl": {
    "h": 73.663,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63159,
    "c": 0.12858,
    "h": 121.2
  },
  "luminance": 0.26144
}

Semantic roles & 50–950 ramp

primary
#7E9530
secondary
#7B69B8
accent
#4DDB6D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9530

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

Preview Lab → · Contrast checker → · Palette generator →

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