#7C9028#7C9028

#7C9028 is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.7% C 0.129 H 119.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7C9028
RGBrgb(124, 144, 40)
HSLhsl(72, 57%, 36%)
HSVhsv(72, 72%, 56%)
CMYKcmyk(13.9%, 0%, 72.2%, 43.5%)
CIE-LABlab(56.47, -21.73, 50.00)
CIE-LCHlch(56.47, 54.52, 113.49°)
OKLaboklab(61.73% -0.0641 0.1117)
OKLCHoklch(61.73% 0.129 119.9)
XYZxyz(18.6688, 24.3849, 5.7303)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9028 #3C2890
analogous
#907028 #7C9028 #489028
triadic
#7C9028 #287C90 #90287C
tetradic
#7C9028 #289070 #3C2890 #902848
square
#7C9028 #289070 #3C2890 #902848
split-complementary
#7C9028 #284890 #702890
monochromatic
#2A300D #53601B #7C9028 #A5C035 #BDD360

Accessibility & contrast

On white

3.57
#7C9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7C9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9028
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9028#FFFFFF#000000##000000
##7C90281.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998816
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#83887C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c9028;
/* rgb */ color: rgb(124, 144, 40);
/* oklch */ color: oklch(61.7% 0.129 119.9);
Tailwind
colors: {
  custom: {
    50: '#a5b069',
    500: '#7c9028',
    950: '#000000',
  },
}
SCSS
$custom: #7c9028;
$custom-light: #a5b069;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9028",
  "rgb": {
    "r": 124,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 71.538,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61732,
    "c": 0.12883,
    "h": 119.9
  },
  "luminance": 0.24385
}

Semantic roles & 50–950 ramp

primary
#7C9028
secondary
#6D5CB8
accent
#48E065
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C9028

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

Preview Lab → · Contrast checker → · Palette generator →

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