#7F941C#7F941C

#7F941C 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#7F941C
RGBrgb(127, 148, 28)
HSLhsl(71, 68%, 35%)
HSVhsv(71, 81%, 58%)
CMYKcmyk(14.2%, 0%, 81.1%, 42%)
CIE-LABlab(57.82, -23.05, 55.45)
CIE-LCHlch(57.82, 60.05, 112.57°)
OKLaboklab(62.86% -0.0689 0.1211)
OKLCHoklch(62.86% 0.139 119.7)
XYZxyz(19.5523, 25.7758, 5.0436)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F941C #311C94
analogous
#946D1C #7F941C #43941C
triadic
#7F941C #1C7F94 #941C7F
tetradic
#7F941C #1C946D #311C94 #941C43
square
#7F941C #1C946D #311C94 #941C43
split-complementary
#7F941C #1C4394 #6D1C94
monochromatic
#272D09 #536112 #7F941C #ABC726 #C4DD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F941C#FFFFFF#000000##000000
##7F941C1.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)
#9C8B28
Tritanopia (blue-blind)
#878C7E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7f941c;
/* rgb */ color: rgb(127, 148, 28);
/* oklch */ color: oklch(62.9% 0.139 119.7);
Tailwind
colors: {
  custom: {
    50: '#a8b364',
    500: '#7f941c',
    950: '#000000',
  },
}
SCSS
$custom: #7f941c;
$custom-light: #a8b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7f941c",
  "rgb": {
    "r": 127,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 70.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62856,
    "c": 0.13931,
    "h": 119.7
  },
  "luminance": 0.25776
}

Semantic roles & 50–950 ramp

primary
#7F941C
secondary
#604CC0
accent
#3DEB5B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F941C

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

Preview Lab → · Contrast checker → · Palette generator →

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