#7C9020#7C9020

#7C9020 is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.7% C 0.134 H 119.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7C9020
RGBrgb(124, 144, 32)
HSLhsl(71, 64%, 35%)
HSVhsv(71, 78%, 56%)
CMYKcmyk(13.9%, 0%, 77.8%, 43.5%)
CIE-LABlab(56.42, -22.16, 52.84)
CIE-LCHlch(56.42, 57.29, 112.75°)
OKLaboklab(61.68% -0.066 0.1163)
OKLCHoklch(61.68% 0.134 119.6)
XYZxyz(18.5465, 24.3360, 5.0865)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9020 #342090
analogous
#906C20 #7C9020 #449020
triadic
#7C9020 #207C90 #90207C
tetradic
#7C9020 #20906C #342090 #902044
square
#7C9020 #20906C #342090 #902044
split-complementary
#7C9020 #204490 #6C2090
monochromatic
#262C0A #515E15 #7C9020 #A7C22B #C0D952

Accessibility & contrast

On white

3.58
#7C9020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7C9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9020
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9020#FFFFFF#000000##000000
##7C90201.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8703
Deuteranopia (green-blind)
#97882A
Tritanopia (blue-blind)
#84887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c9020;
/* rgb */ color: rgb(124, 144, 32);
/* oklch */ color: oklch(61.7% 0.134 119.6);
Tailwind
colors: {
  custom: {
    50: '#a5b065',
    500: '#7c9020',
    950: '#000000',
  },
}
SCSS
$custom: #7c9020;
$custom-light: #a5b065;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9020",
  "rgb": {
    "r": 124,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 70.714,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61677,
    "c": 0.13375,
    "h": 119.6
  },
  "luminance": 0.24336
}

Semantic roles & 50–950 ramp

primary
#7C9020
secondary
#6350BC
accent
#41E75F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C9020

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

Preview Lab → · Contrast checker → · Palette generator →

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