#7F941D#7F941D

#7F941D is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.9% C 0.139 H 119.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7F941D
RGBrgb(127, 148, 29)
HSLhsl(71, 67%, 35%)
HSVhsv(71, 80%, 58%)
CMYKcmyk(14.2%, 0%, 80.4%, 42%)
CIE-LABlab(57.83, -23.00, 55.16)
CIE-LCHlch(57.83, 59.76, 112.64°)
OKLaboklab(62.86% -0.0688 0.1206)
OKLCHoklch(62.86% 0.139 119.7)
XYZxyz(19.5645, 25.7806, 5.1076)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F941D #321D94
analogous
#946E1D #7F941D #44941D
triadic
#7F941D #1D7F94 #941D7F
tetradic
#7F941D #1D946E #321D94 #941D44
square
#7F941D #1D946E #321D94 #941D44
split-complementary
#7F941D #1D4494 #6E1D94
monochromatic
#272E09 #536113 #7F941D #ABC727 #C4DC4F

Accessibility & contrast

On white

3.41
#7F941D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7F941D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F941D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F941D#FFFFFF#000000##000000
##7F941D1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#878C7E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7f941d;
/* rgb */ color: rgb(127, 148, 29);
/* oklch */ color: oklch(62.9% 0.139 119.7);
Tailwind
colors: {
  custom: {
    50: '#a8b364',
    500: '#7f941d',
    950: '#000000',
  },
}
SCSS
$custom: #7f941d;
$custom-light: #a8b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7f941d",
  "rgb": {
    "r": 127,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 70.588,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62861,
    "c": 0.13882,
    "h": 119.7
  },
  "luminance": 0.25781
}

Semantic roles & 50–950 ramp

primary
#7F941D
secondary
#624EBF
accent
#3EEA5C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F941D

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

Preview Lab → · Contrast checker → · Palette generator →

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