#7E9225#7E9225

#7E9225 is a light, vivid yellow-green. Relative luminance 0.251; OKLCH L 62.3% C 0.132 H 119.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7E9225
RGBrgb(126, 146, 37)
HSLhsl(71, 60%, 36%)
HSVhsv(71, 75%, 57%)
CMYKcmyk(13.7%, 0%, 74.7%, 42.7%)
CIE-LABlab(57.20, -22.05, 51.88)
CIE-LCHlch(57.20, 56.37, 113.02°)
OKLaboklab(62.35% -0.0654 0.1151)
OKLCHoklch(62.35% 0.132 119.6)
XYZxyz(19.2174, 25.1271, 5.5875)
Luminance0.2513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9225 #392592
analogous
#926F25 #7E9225 #479225
triadic
#7E9225 #257E92 #92257E
tetradic
#7E9225 #25926F #392592 #922547
square
#7E9225 #25926F #392592 #922547
split-complementary
#7E9225 #254792 #6F2592
monochromatic
#2A300C #546119 #7E9225 #A8C331 #BFD65C

Accessibility & contrast

On white

3.49
#7E9225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#7E9225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9225
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9225#FFFFFF#000000##000000
##7E92251.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C890F
Deuteranopia (green-blind)
#998A2E
Tritanopia (blue-blind)
#868A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e9225;
/* rgb */ color: rgb(126, 146, 37);
/* oklch */ color: oklch(62.3% 0.132 119.6);
Tailwind
colors: {
  custom: {
    50: '#a6b268',
    500: '#7e9225',
    950: '#000000',
  },
}
SCSS
$custom: #7e9225;
$custom-light: #a6b268;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9225",
  "rgb": {
    "r": 126,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 71.009,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62349,
    "c": 0.1324,
    "h": 119.6
  },
  "luminance": 0.25127
}

Semantic roles & 50–950 ramp

primary
#7E9225
secondary
#6A58BA
accent
#45E362
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E9225

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

Preview Lab → · Contrast checker → · Palette generator →

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