#7C911F#7C911F

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

Color values

HEX#7C911F
RGBrgb(124, 145, 31)
HSLhsl(71, 65%, 35%)
HSVhsv(71, 79%, 57%)
CMYKcmyk(14.5%, 0%, 78.6%, 43.1%)
CIE-LABlab(56.72, -22.71, 53.44)
CIE-LCHlch(56.72, 58.06, 113.02°)
OKLaboklab(61.91% -0.0676 0.1174)
OKLCHoklch(61.91% 0.135 119.9)
XYZxyz(18.6853, 24.6349, 5.0667)
Luminance0.2464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C911F #341F91
analogous
#916D1F #7C911F #43911F
triadic
#7C911F #1F7C91 #911F7C
tetradic
#7C911F #1F916D #341F91 #911F43
square
#7C911F #1F916D #341F91 #911F43
split-complementary
#7C911F #1F4391 #6D1F91
monochromatic
#262C09 #515F14 #7C911F #A7C32A #C0DA51

Accessibility & contrast

On white

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

On black

5.93
#7C911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C911F
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C911F#FFFFFF#000000##000000
##7C911F1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c911f;
/* rgb */ color: rgb(124, 145, 31);
/* oklch */ color: oklch(61.9% 0.135 119.9);
Tailwind
colors: {
  custom: {
    50: '#a5b165',
    500: '#7c911f',
    950: '#000000',
  },
}
SCSS
$custom: #7c911f;
$custom-light: #a5b165;
$custom-dark: #000000;
JSON
{
  "hex": "#7c911f",
  "rgb": {
    "r": 124,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 71.053,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61914,
    "c": 0.13549,
    "h": 119.9
  },
  "luminance": 0.24635
}

Semantic roles & 50–950 ramp

primary
#7C911F
secondary
#634FBD
accent
#40E85F
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C911F

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

Preview Lab → · Contrast checker → · Palette generator →

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