#7E9537#7E9537

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

Color values

HEX#7E9537
RGBrgb(126, 149, 55)
HSLhsl(75, 46%, 40%)
HSVhsv(75, 63%, 58%)
CMYKcmyk(15.4%, 0%, 63.1%, 41.6%)
CIE-LABlab(58.23, -22.37, 45.58)
CIE-LCHlch(58.23, 50.77, 116.14°)
OKLaboklab(63.22% -0.0645 0.1047)
OKLCHoklch(63.22% 0.123 121.7)
XYZxyz(20.0414, 26.2063, 7.6162)
Luminance0.2621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9537 #4E3795
analogous
#957D37 #7E9537 #4F9537
triadic
#7E9537 #377E95 #95377E
tetradic
#7E9537 #37957D #4E3795 #95374F
square
#7E9537 #37957D #4E3795 #95374F
split-complementary
#7E9537 #374F95 #7D3795
monochromatic
#323C16 #586827 #7E9537 #A1BD4C #B9CD79

Accessibility & contrast

On white

3.36
#7E9537 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9537#FFFFFF#000000##000000
##7E95371.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C2C
Deuteranopia (green-blind)
#9B8C3E
Tritanopia (blue-blind)
#848E81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9537;
/* rgb */ color: rgb(126, 149, 55);
/* oklch */ color: oklch(63.2% 0.123 121.7);
Tailwind
colors: {
  custom: {
    50: '#a6b472',
    500: '#7e9537',
    950: '#000000',
  },
}
SCSS
$custom: #7e9537;
$custom-light: #a6b472;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9537",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 55
  },
  "hsl": {
    "h": 74.681,
    "s": 46.078,
    "l": 40
  },
  "oklch": {
    "l": 0.63225,
    "c": 0.12296,
    "h": 121.7
  },
  "luminance": 0.26206
}

Semantic roles & 50–950 ramp

primary
#7E9537
secondary
#8271B6
accent
#52D672
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9537

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

Preview Lab → · Contrast checker → · Palette generator →

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