#7D941F#7D941F

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

Color values

HEX#7D941F
RGBrgb(125, 148, 31)
HSLhsl(72, 65%, 35%)
HSVhsv(72, 79%, 58%)
CMYKcmyk(15.5%, 0%, 79.1%, 42%)
CIE-LABlab(57.69, -23.78, 54.36)
CIE-LCHlch(57.69, 59.34, 113.63°)
OKLaboklab(62.72% -0.0706 0.1193)
OKLCHoklch(62.72% 0.139 120.6)
XYZxyz(19.2950, 25.6388, 5.2283)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D941F #361F94
analogous
#94711F #7D941F #42941F
triadic
#7D941F #1F7D94 #941F7D
tetradic
#7D941F #1F9471 #361F94 #941F42
square
#7D941F #1F9471 #361F94 #941F42
split-complementary
#7D941F #1F4294 #711F94
monochromatic
#282F0A #526114 #7D941F #A8C72A #C0DB53

Accessibility & contrast

On white

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

On black

6.13
#7D941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D941F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D941F#FFFFFF#000000##000000
##7D941F1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d941f;
/* rgb */ color: rgb(125, 148, 31);
/* oklch */ color: oklch(62.7% 0.139 120.6);
Tailwind
colors: {
  custom: {
    50: '#a6b365',
    500: '#7d941f',
    950: '#000000',
  },
}
SCSS
$custom: #7d941f;
$custom-light: #a6b365;
$custom-dark: #000000;
JSON
{
  "hex": "#7d941f",
  "rgb": {
    "r": 125,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 71.795,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62718,
    "c": 0.13866,
    "h": 120.6
  },
  "luminance": 0.25639
}

Semantic roles & 50–950 ramp

primary
#7D941F
secondary
#6651BE
accent
#3FE861
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D941F

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

Preview Lab → · Contrast checker → · Palette generator →

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