#7C901D#7C901D

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

Color values

HEX#7C901D
RGBrgb(124, 144, 29)
HSLhsl(70, 66%, 34%)
HSVhsv(70, 80%, 56%)
CMYKcmyk(13.9%, 0%, 79.9%, 43.5%)
CIE-LABlab(56.41, -22.29, 53.79)
CIE-LCHlch(56.41, 58.23, 112.51°)
OKLaboklab(61.66% -0.0666 0.1178)
OKLCHoklch(61.66% 0.135 119.5)
XYZxyz(18.5076, 24.3204, 4.8815)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C901D #311D90
analogous
#906B1D #7C901D #43901D
triadic
#7C901D #1D7C90 #901D7C
tetradic
#7C901D #1D906B #311D90 #901D43
square
#7C901D #1D906B #311D90 #901D43
split-complementary
#7C901D #1D4390 #6B1D90
monochromatic
#242A08 #505D13 #7C901D #A8C327 #C2DB4C

Accessibility & contrast

On white

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

On black

5.86
#7C901D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C901D
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C901D#FFFFFF#000000##000000
##7C901D1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#978828
Tritanopia (blue-blind)
#84887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c901d;
/* rgb */ color: rgb(124, 144, 29);
/* oklch */ color: oklch(61.7% 0.135 119.5);
Tailwind
colors: {
  custom: {
    50: '#a5b064',
    500: '#7c901d',
    950: '#000000',
  },
}
SCSS
$custom: #7c901d;
$custom-light: #a5b064;
$custom-dark: #000000;
JSON
{
  "hex": "#7c901d",
  "rgb": {
    "r": 124,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 70.435,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6166,
    "c": 0.13534,
    "h": 119.5
  },
  "luminance": 0.2432
}

Semantic roles & 50–950 ramp

primary
#7C901D
secondary
#5F4BBD
accent
#3EE95C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C901D

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

Preview Lab → · Contrast checker → · Palette generator →

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