#7E9728#7E9728

#7E9728 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.6% C 0.137 H 121.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7E9728
RGBrgb(126, 151, 40)
HSLhsl(74, 58%, 37%)
HSVhsv(74, 74%, 59%)
CMYKcmyk(16.6%, 0%, 73.5%, 40.8%)
CIE-LABlab(58.72, -24.39, 52.26)
CIE-LCHlch(58.72, 57.67, 115.02°)
OKLaboklab(63.58% -0.0716 0.1164)
OKLCHoklch(63.58% 0.137 121.6)
XYZxyz(20.0541, 26.7220, 6.1084)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9728 #412897
analogous
#977928 #7E9728 #469728
triadic
#7E9728 #287E97 #97287E
tetradic
#7E9728 #289779 #412897 #972846
square
#7E9728 #289779 #412897 #972846
split-complementary
#7E9728 #284697 #792897
monochromatic
#2D360E #56671B #7E9728 #A6C735 #BCD664

Accessibility & contrast

On white

3.31
#7E9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#7E9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9728
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9728#FFFFFF#000000##000000
##7E97281.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E13
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#858F82
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9728;
/* rgb */ color: rgb(126, 151, 40);
/* oklch */ color: oklch(63.6% 0.137 121.6);
Tailwind
colors: {
  custom: {
    50: '#a6b56a',
    500: '#7e9728',
    950: '#000000',
  },
}
SCSS
$custom: #7e9728;
$custom-light: #a6b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9728",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 73.514,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63578,
    "c": 0.13667,
    "h": 121.6
  },
  "luminance": 0.26722
}

Semantic roles & 50–950 ramp

primary
#7E9728
secondary
#745FBC
accent
#46E169
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9728

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

Preview Lab → · Contrast checker → · Palette generator →

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