#7E902F#7E902F

#7E902F is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.9% C 0.123 H 119.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7E902F
RGBrgb(126, 144, 47)
HSLhsl(71, 51%, 37%)
HSVhsv(71, 67%, 56%)
CMYKcmyk(12.5%, 0%, 67.4%, 43.5%)
CIE-LABlab(56.67, -20.42, 47.42)
CIE-LCHlch(56.67, 51.63, 113.30°)
OKLaboklab(61.95% -0.0599 0.1074)
OKLCHoklch(61.95% 0.123 119.2)
XYZxyz(19.0909, 24.5875, 6.4289)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E902F #412F90
analogous
#90712F #7E902F #4E902F
triadic
#7E902F #2F7E90 #902F7E
tetradic
#7E902F #2F9071 #412F90 #902F4E
square
#7E902F #2F9071 #412F90 #902F4E
split-complementary
#7E902F #2F4E90 #712F90
monochromatic
#2D3411 #566220 #7E902F #A6BE3E #BCCF6B

Accessibility & contrast

On white

3.55
#7E902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#7E902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E902F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E902F#FFFFFF#000000##000000
##7E902F1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998822
Deuteranopia (green-blind)
#978836
Tritanopia (blue-blind)
#85887C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e902f;
/* rgb */ color: rgb(126, 144, 47);
/* oklch */ color: oklch(61.9% 0.123 119.2);
Tailwind
colors: {
  custom: {
    50: '#a6b06d',
    500: '#7e902f',
    950: '#000000',
  },
}
SCSS
$custom: #7e902f;
$custom-light: #a6b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e902f",
  "rgb": {
    "r": 126,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 71.134,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61947,
    "c": 0.12298,
    "h": 119.2
  },
  "luminance": 0.24587
}

Semantic roles & 50–950 ramp

primary
#7E902F
secondary
#7465B6
accent
#4EDA68
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E902F

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

Preview Lab → · Contrast checker → · Palette generator →

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