#7E8F29#7E8F29

#7E8F29 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.7% C 0.126 H 118.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7E8F29
RGBrgb(126, 143, 41)
HSLhsl(70, 55%, 36%)
HSVhsv(70, 71%, 56%)
CMYKcmyk(11.9%, 0%, 71.3%, 43.9%)
CIE-LABlab(56.33, -20.29, 49.52)
CIE-LCHlch(56.33, 53.52, 112.28°)
OKLaboklab(61.66% -0.0602 0.1108)
OKLCHoklch(61.66% 0.126 118.5)
XYZxyz(18.8273, 24.2408, 5.7845)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8F29 #3A298F
analogous
#8F6D29 #7E8F29 #4B8F29
triadic
#7E8F29 #297E8F #8F297E
tetradic
#7E8F29 #298F6D #3A298F #8F294B
square
#7E8F29 #298F6D #3A298F #8F294B
split-complementary
#7E8F29 #294B8F #6D298F
monochromatic
#2A300E #545F1B #7E8F29 #A8BF37 #BFD261

Accessibility & contrast

On white

3.59
#7E8F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#7E8F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8F29
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8F29#FFFFFF#000000##000000
##7E8F291.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998718
Deuteranopia (green-blind)
#978731
Tritanopia (blue-blind)
#86877B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7e8f29;
/* rgb */ color: rgb(126, 143, 41);
/* oklch */ color: oklch(61.7% 0.126 118.5);
Tailwind
colors: {
  custom: {
    50: '#a6af6a',
    500: '#7e8f29',
    950: '#000000',
  },
}
SCSS
$custom: #7e8f29;
$custom-light: #a6af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8f29",
  "rgb": {
    "r": 126,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 70,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61657,
    "c": 0.12611,
    "h": 118.5
  },
  "luminance": 0.24241
}

Semantic roles & 50–950 ramp

primary
#7E8F29
secondary
#6C5CB7
accent
#49DF62
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E8F29

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

Preview Lab → · Contrast checker → · Palette generator →

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