#7E921E#7E921E

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

Color values

HEX#7E921E
RGBrgb(126, 146, 30)
HSLhsl(70, 66%, 35%)
HSVhsv(70, 79%, 57%)
CMYKcmyk(13.7%, 0%, 79.5%, 42.7%)
CIE-LABlab(57.16, -22.39, 54.22)
CIE-LCHlch(57.16, 58.66, 112.44°)
OKLaboklab(62.31% -0.0669 0.1188)
OKLCHoklch(62.31% 0.136 119.4)
XYZxyz(19.1178, 25.0872, 5.0632)
Luminance0.2509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E921E #321E92
analogous
#926C1E #7E921E #44921E
triadic
#7E921E #1E7E92 #921E7E
tetradic
#7E921E #1E926C #321E92 #921E44
square
#7E921E #1E926C #321E92 #921E44
split-complementary
#7E921E #1E4492 #6C1E92
monochromatic
#262C09 #525F14 #7E921E #AAC528 #C3DB4F

Accessibility & contrast

On white

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

On black

6.02
#7E921E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E921E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E921E#FFFFFF#000000##000000
##7E921E1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#868A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e921e;
/* rgb */ color: rgb(126, 146, 30);
/* oklch */ color: oklch(62.3% 0.136 119.4);
Tailwind
colors: {
  custom: {
    50: '#a7b265',
    500: '#7e921e',
    950: '#000000',
  },
}
SCSS
$custom: #7e921e;
$custom-light: #a7b265;
$custom-dark: #000000;
JSON
{
  "hex": "#7e921e",
  "rgb": {
    "r": 126,
    "g": 146,
    "b": 30
  },
  "hsl": {
    "h": 70.345,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62306,
    "c": 0.13637,
    "h": 119.4
  },
  "luminance": 0.25087
}

Semantic roles & 50–950 ramp

primary
#7E921E
secondary
#614EBE
accent
#3FE95C
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E921E

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

Preview Lab → · Contrast checker → · Palette generator →

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