#7C901C#7C901C

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

Color values

HEX#7C901C
RGBrgb(124, 144, 28)
HSLhsl(70, 67%, 34%)
HSVhsv(70, 81%, 56%)
CMYKcmyk(13.9%, 0%, 80.6%, 43.5%)
CIE-LABlab(56.40, -22.34, 54.09)
CIE-LCHlch(56.40, 58.52, 112.44°)
OKLaboklab(61.66% -0.0668 0.1183)
OKLCHoklch(61.66% 0.136 119.5)
XYZxyz(18.4954, 24.3156, 4.8174)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C901C #301C90
analogous
#906A1C #7C901C #42901C
triadic
#7C901C #1C7C90 #901C7C
tetradic
#7C901C #1C906A #301C90 #901C42
square
#7C901C #1C906A #301C90 #901C42
split-complementary
#7C901C #1C4290 #6A1C90
monochromatic
#242A08 #505D12 #7C901C #A8C326 #C3DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C901C#FFFFFF#000000##000000
##7C901C1.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: #7c901c;
/* rgb */ color: rgb(124, 144, 28);
/* oklch */ color: oklch(61.7% 0.136 119.5);
Tailwind
colors: {
  custom: {
    50: '#a5b063',
    500: '#7c901c',
    950: '#000000',
  },
}
SCSS
$custom: #7c901c;
$custom-light: #a5b063;
$custom-dark: #000000;
JSON
{
  "hex": "#7c901c",
  "rgb": {
    "r": 124,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 70.345,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61655,
    "c": 0.13584,
    "h": 119.5
  },
  "luminance": 0.24315
}

Semantic roles & 50–950 ramp

primary
#7C901C
secondary
#5E4ABE
accent
#3DEA5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C901C

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

Preview Lab → · Contrast checker → · Palette generator →

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