#7D9028#7D9028

#7D9028 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.8% C 0.128 H 119.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7D9028
RGBrgb(125, 144, 40)
HSLhsl(71, 57%, 36%)
HSVhsv(71, 72%, 56%)
CMYKcmyk(13.2%, 0%, 72.2%, 43.5%)
CIE-LABlab(56.55, -21.30, 50.10)
CIE-LCHlch(56.55, 54.44, 113.03°)
OKLaboklab(61.81% -0.063 0.1119)
OKLCHoklch(61.81% 0.128 119.4)
XYZxyz(18.8141, 24.4598, 5.7371)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9028 #3B2890
analogous
#906F28 #7D9028 #499028
triadic
#7D9028 #287D90 #90287D
tetradic
#7D9028 #28906F #3B2890 #902849
square
#7D9028 #28906F #3B2890 #902849
split-complementary
#7D9028 #284990 #6F2890
monochromatic
#2A300D #53601B #7D9028 #A7C035 #BED360

Accessibility & contrast

On white

3.56
#7D9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#7D9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9028
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9028#FFFFFF#000000##000000
##7D90281.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998816
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#84887C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7d9028;
/* rgb */ color: rgb(125, 144, 40);
/* oklch */ color: oklch(61.8% 0.128 119.4);
Tailwind
colors: {
  custom: {
    50: '#a6b069',
    500: '#7d9028',
    950: '#000000',
  },
}
SCSS
$custom: #7d9028;
$custom-light: #a6b069;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9028",
  "rgb": {
    "r": 125,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 70.962,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6181,
    "c": 0.12842,
    "h": 119.4
  },
  "luminance": 0.2446
}

Semantic roles & 50–950 ramp

primary
#7D9028
secondary
#6C5CB8
accent
#48E064
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D9028

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

Preview Lab → · Contrast checker → · Palette generator →

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