#7D941A#7D941A

#7D941A is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.7% C 0.141 H 120.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7D941A
RGBrgb(125, 148, 26)
HSLhsl(71, 70%, 34%)
HSVhsv(71, 82%, 58%)
CMYKcmyk(15.5%, 0%, 82.4%, 42%)
CIE-LABlab(57.67, -23.99, 55.84)
CIE-LCHlch(57.67, 60.77, 113.25°)
OKLaboklab(62.69% -0.0716 0.1216)
OKLCHoklch(62.69% 0.141 120.5)
XYZxyz(19.2342, 25.6144, 4.9079)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D941A #311A94
analogous
#946E1A #7D941A #40941A
triadic
#7D941A #1A7D94 #941A7D
tetradic
#7D941A #1A946E #311A94 #941A40
square
#7D941A #1A946E #311A94 #941A40
split-complementary
#7D941A #1A4094 #6E1A94
monochromatic
#252C08 #516011 #7D941A #A9C823 #C3DF49

Accessibility & contrast

On white

3.43
#7D941A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7D941A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D941A
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D941A#FFFFFF#000000##000000
##7D941A1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B27
Tritanopia (blue-blind)
#858C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7d941a;
/* rgb */ color: rgb(125, 148, 26);
/* oklch */ color: oklch(62.7% 0.141 120.5);
Tailwind
colors: {
  custom: {
    50: '#a6b363',
    500: '#7d941a',
    950: '#000000',
  },
}
SCSS
$custom: #7d941a;
$custom-light: #a6b363;
$custom-dark: #000000;
JSON
{
  "hex": "#7d941a",
  "rgb": {
    "r": 125,
    "g": 148,
    "b": 26
  },
  "hsl": {
    "h": 71.311,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62692,
    "c": 0.14109,
    "h": 120.5
  },
  "luminance": 0.25614
}

Semantic roles & 50–950 ramp

primary
#7D941A
secondary
#6049C1
accent
#3BED5C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D941A

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

Preview Lab → · Contrast checker → · Palette generator →

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