#7C911C#7C911C

#7C911C is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.9% C 0.137 H 119.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7C911C
RGBrgb(124, 145, 28)
HSLhsl(71, 68%, 34%)
HSVhsv(71, 81%, 57%)
CMYKcmyk(14.5%, 0%, 80.7%, 43.1%)
CIE-LABlab(56.70, -22.84, 54.37)
CIE-LCHlch(56.70, 58.97, 112.79°)
OKLaboklab(61.9% -0.0682 0.1188)
OKLCHoklch(61.9% 0.137 119.9)
XYZxyz(18.6476, 24.6198, 4.8681)
Luminance0.2462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C911C #311C91
analogous
#916C1C #7C911C #42911C
triadic
#7C911C #1C7C91 #911C7C
tetradic
#7C911C #1C916C #311C91 #911C42
square
#7C911C #1C916C #311C91 #911C42
split-complementary
#7C911C #1C4291 #6C1C91
monochromatic
#242A08 #505E12 #7C911C #A8C426 #C2DC4B

Accessibility & contrast

On white

3.54
#7C911C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#7C911C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C911C
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C911C#FFFFFF#000000##000000
##7C911C1.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#84897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7c911c;
/* rgb */ color: rgb(124, 145, 28);
/* oklch */ color: oklch(61.9% 0.137 119.9);
Tailwind
colors: {
  custom: {
    50: '#a5b164',
    500: '#7c911c',
    950: '#000000',
  },
}
SCSS
$custom: #7c911c;
$custom-light: #a5b164;
$custom-dark: #000000;
JSON
{
  "hex": "#7c911c",
  "rgb": {
    "r": 124,
    "g": 145,
    "b": 28
  },
  "hsl": {
    "h": 70.769,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61897,
    "c": 0.13703,
    "h": 119.9
  },
  "luminance": 0.2462
}

Semantic roles & 50–950 ramp

primary
#7C911C
secondary
#5F4ABE
accent
#3DEB5C
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C911C

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

Preview Lab → · Contrast checker → · Palette generator →

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