#7D911C#7D911C

#7D911C is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 62.0% C 0.137 H 119.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7D911C
RGBrgb(125, 145, 28)
HSLhsl(70, 68%, 34%)
HSVhsv(70, 81%, 57%)
CMYKcmyk(13.8%, 0%, 80.7%, 43.1%)
CIE-LABlab(56.78, -22.41, 54.46)
CIE-LCHlch(56.78, 58.89, 112.36°)
OKLaboklab(61.98% -0.0671 0.119)
OKLCHoklch(61.98% 0.137 119.4)
XYZxyz(18.7929, 24.6947, 4.8749)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D911C #301C91
analogous
#916B1C #7D911C #43911C
triadic
#7D911C #1C7D91 #911C7D
tetradic
#7D911C #1C916B #301C91 #911C43
square
#7D911C #1C916B #301C91 #911C43
split-complementary
#7D911C #1C4391 #6B1C91
monochromatic
#252A08 #515E12 #7D911C #A9C426 #C3DC4B

Accessibility & contrast

On white

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

On black

5.94
#7D911C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D911C
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D911C#FFFFFF#000000##000000
##7D911C1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d911c;
/* rgb */ color: rgb(125, 145, 28);
/* oklch */ color: oklch(62.0% 0.137 119.4);
Tailwind
colors: {
  custom: {
    50: '#a6b164',
    500: '#7d911c',
    950: '#000000',
  },
}
SCSS
$custom: #7d911c;
$custom-light: #a6b164;
$custom-dark: #000000;
JSON
{
  "hex": "#7d911c",
  "rgb": {
    "r": 125,
    "g": 145,
    "b": 28
  },
  "hsl": {
    "h": 70.256,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61975,
    "c": 0.13661,
    "h": 119.4
  },
  "luminance": 0.24695
}

Semantic roles & 50–950 ramp

primary
#7D911C
secondary
#5E4ABE
accent
#3DEB5B
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D911C

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

Preview Lab → · Contrast checker → · Palette generator →

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