#7E9534#7E9534

#7E9534 is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 63.2% C 0.125 H 121.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7E9534
RGBrgb(126, 149, 52)
HSLhsl(74, 48%, 39%)
HSVhsv(74, 65%, 58%)
CMYKcmyk(15.4%, 0%, 65.1%, 41.6%)
CIE-LABlab(58.21, -22.60, 46.88)
CIE-LCHlch(58.21, 52.04, 115.74°)
OKLaboklab(63.2% -0.0655 0.107)
OKLCHoklch(63.2% 0.125 121.5)
XYZxyz(19.9717, 26.1784, 7.2489)
Luminance0.2618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9534 #4B3495
analogous
#957C34 #7E9534 #4E9534
triadic
#7E9534 #347E95 #95347E
tetradic
#7E9534 #34957C #4B3495 #95344E
square
#7E9534 #34957C #4B3495 #95344E
split-complementary
#7E9534 #344E95 #7C3495
monochromatic
#313A14 #586824 #7E9534 #A3BF47 #B9CF75

Accessibility & contrast

On white

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

On black

6.24
#7E9534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9534
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9534#FFFFFF#000000##000000
##7E95341.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C28
Deuteranopia (green-blind)
#9B8C3B
Tritanopia (blue-blind)
#858E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9534;
/* rgb */ color: rgb(126, 149, 52);
/* oklch */ color: oklch(63.2% 0.125 121.5);
Tailwind
colors: {
  custom: {
    50: '#a6b470',
    500: '#7e9534',
    950: '#000000',
  },
}
SCSS
$custom: #7e9534;
$custom-light: #a6b470;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9534",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 52
  },
  "hsl": {
    "h": 74.227,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63195,
    "c": 0.12544,
    "h": 121.5
  },
  "luminance": 0.26178
}

Semantic roles & 50–950 ramp

primary
#7E9534
secondary
#7F6EB7
accent
#50D870
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9534

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

Preview Lab → · Contrast checker → · Palette generator →

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