#7A941C#7A941C

#7A941C is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.5% C 0.141 H 121.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7A941C
RGBrgb(122, 148, 28)
HSLhsl(73, 68%, 35%)
HSVhsv(73, 81%, 58%)
CMYKcmyk(17.6%, 0%, 81.1%, 42%)
CIE-LABlab(57.46, -25.20, 55.00)
CIE-LCHlch(57.46, 60.50, 114.62°)
OKLaboklab(62.48% -0.0746 0.1203)
OKLCHoklch(62.48% 0.141 121.8)
XYZxyz(18.8259, 25.4012, 5.0095)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A941C #361C94
analogous
#94721C #7A941C #3E941C
triadic
#7A941C #1C7A94 #941C7A
tetradic
#7A941C #1C9472 #361C94 #941C3E
square
#7A941C #1C9472 #361C94 #941C3E
split-complementary
#7A941C #1C3E94 #721C94
monochromatic
#252D09 #506112 #7A941C #A4C726 #BEDD4D

Accessibility & contrast

On white

3.45
#7A941C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7A941C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A941C
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A941C#FFFFFF#000000##000000
##7A941C1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#818C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7a941c;
/* rgb */ color: rgb(122, 148, 28);
/* oklch */ color: oklch(62.5% 0.141 121.8);
Tailwind
colors: {
  custom: {
    50: '#a4b364',
    500: '#7a941c',
    950: '#000000',
  },
}
SCSS
$custom: #7a941c;
$custom-light: #a4b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7a941c",
  "rgb": {
    "r": 122,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 73,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62475,
    "c": 0.14149,
    "h": 121.8
  },
  "luminance": 0.25401
}

Semantic roles & 50–950 ramp

primary
#7A941C
secondary
#654CC0
accent
#3DEB63
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A941C

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

Preview Lab → · Contrast checker → · Palette generator →

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