#7D942E#7D942E

#7D942E is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.8% C 0.129 H 121.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7D942E
RGBrgb(125, 148, 46)
HSLhsl(74, 53%, 38%)
HSVhsv(74, 69%, 58%)
CMYKcmyk(15.5%, 0%, 68.9%, 42%)
CIE-LABlab(57.79, -22.94, 48.96)
CIE-LCHlch(57.79, 54.07, 115.11°)
OKLaboklab(62.82% -0.067 0.1105)
OKLCHoklch(62.82% 0.129 121.2)
XYZxyz(19.5408, 25.7371, 6.5225)
Luminance0.2574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D942E #452E94
analogous
#94782E #7D942E #4A942E
triadic
#7D942E #2E7D94 #942E7D
tetradic
#7D942E #2E9478 #452E94 #942E4A
square
#7D942E #2E9478 #452E94 #942E4A
split-complementary
#7D942E #2E4A94 #782E94
monochromatic
#2E3711 #56651F #7D942E #A4C33D #BAD16B

Accessibility & contrast

On white

3.42
#7D942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#7D942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D942E
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D942E#FFFFFF#000000##000000
##7D942E1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1F
Deuteranopia (green-blind)
#9A8B36
Tritanopia (blue-blind)
#848C7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d942e;
/* rgb */ color: rgb(125, 148, 46);
/* oklch */ color: oklch(62.8% 0.129 121.2);
Tailwind
colors: {
  custom: {
    50: '#a5b36d',
    500: '#7d942e',
    950: '#000000',
  },
}
SCSS
$custom: #7d942e;
$custom-light: #a5b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d942e",
  "rgb": {
    "r": 125,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 73.529,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62824,
    "c": 0.12922,
    "h": 121.2
  },
  "luminance": 0.25737
}

Semantic roles & 50–950 ramp

primary
#7D942E
secondary
#7866B8
accent
#4CDC6C
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D942E

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

Preview Lab → · Contrast checker → · Palette generator →

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