#7D941C#7D941C

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

Color values

HEX#7D941C
RGBrgb(125, 148, 28)
HSLhsl(72, 68%, 35%)
HSVhsv(72, 81%, 58%)
CMYKcmyk(15.5%, 0%, 81.1%, 42%)
CIE-LABlab(57.68, -23.91, 55.27)
CIE-LCHlch(57.68, 60.22, 113.39°)
OKLaboklab(62.7% -0.0712 0.1207)
OKLCHoklch(62.7% 0.14 120.5)
XYZxyz(19.2573, 25.6237, 5.0297)
Luminance0.2562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D941C #331C94
analogous
#946F1C #7D941C #41941C
triadic
#7D941C #1C7D94 #941C7D
tetradic
#7D941C #1C946F #331C94 #941C41
square
#7D941C #1C946F #331C94 #941C41
split-complementary
#7D941C #1C4194 #6F1C94
monochromatic
#262D09 #526112 #7D941C #A8C726 #C2DD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D941C#FFFFFF#000000##000000
##7D941C1.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)
#9B8B28
Tritanopia (blue-blind)
#858C7E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d941c;
/* rgb */ color: rgb(125, 148, 28);
/* oklch */ color: oklch(62.7% 0.140 120.5);
Tailwind
colors: {
  custom: {
    50: '#a6b364',
    500: '#7d941c',
    950: '#000000',
  },
}
SCSS
$custom: #7d941c;
$custom-light: #a6b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7d941c",
  "rgb": {
    "r": 125,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 71.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62702,
    "c": 0.14017,
    "h": 120.5
  },
  "luminance": 0.25624
}

Semantic roles & 50–950 ramp

primary
#7D941C
secondary
#624CC0
accent
#3DEB5E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D941C

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

Preview Lab → · Contrast checker → · Palette generator →

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