#7C901E#7C901E

#7C901E 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.87:1 contrast (WCAG AA passes).

Color values

HEX#7C901E
RGBrgb(124, 144, 30)
HSLhsl(71, 66%, 34%)
HSVhsv(71, 79%, 56%)
CMYKcmyk(13.9%, 0%, 79.2%, 43.5%)
CIE-LABlab(56.41, -22.25, 53.48)
CIE-LCHlch(56.41, 57.92, 112.59°)
OKLaboklab(61.67% -0.0664 0.1173)
OKLCHoklch(61.67% 0.135 119.5)
XYZxyz(18.5202, 24.3254, 4.9477)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C901E #321E90
analogous
#906B1E #7C901E #43901E
triadic
#7C901E #1E7C90 #901E7C
tetradic
#7C901E #1E906B #321E90 #901E43
square
#7C901E #1E906B #321E90 #901E43
split-complementary
#7C901E #1E4390 #6B1E90
monochromatic
#252B09 #505D13 #7C901E #A8C329 #C2DA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C901E#FFFFFF#000000##000000
##7C901E1.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)
#9A8700
Deuteranopia (green-blind)
#978829
Tritanopia (blue-blind)
#84887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c901e;
/* rgb */ color: rgb(124, 144, 30);
/* oklch */ color: oklch(61.7% 0.135 119.5);
Tailwind
colors: {
  custom: {
    50: '#a5b064',
    500: '#7c901e',
    950: '#000000',
  },
}
SCSS
$custom: #7c901e;
$custom-light: #a5b064;
$custom-dark: #000000;
JSON
{
  "hex": "#7c901e",
  "rgb": {
    "r": 124,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 70.526,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61666,
    "c": 0.13483,
    "h": 119.5
  },
  "luminance": 0.24325
}

Semantic roles & 50–950 ramp

primary
#7C901E
secondary
#614DBD
accent
#3FE85D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C901E

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

Preview Lab → · Contrast checker → · Palette generator →

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