#7C901A#7C901A

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

Color values

HEX#7C901A
RGBrgb(124, 144, 26)
HSLhsl(70, 69%, 33%)
HSVhsv(70, 82%, 56%)
CMYKcmyk(13.9%, 0%, 81.9%, 43.5%)
CIE-LABlab(56.39, -22.42, 54.68)
CIE-LCHlch(56.39, 59.10, 112.29°)
OKLaboklab(61.64% -0.0672 0.1192)
OKLCHoklch(61.64% 0.137 119.4)
XYZxyz(18.4723, 24.3063, 4.6955)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C901A #2E1A90
analogous
#90691A #7C901A #41901A
triadic
#7C901A #1A7C90 #901A7C
tetradic
#7C901A #1A9069 #2E1A90 #901A41
square
#7C901A #1A9069 #2E1A90 #901A41
split-complementary
#7C901A #1A4190 #691A90
monochromatic
#232807 #4F5C11 #7C901A #A9C423 #C4DE47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C901A#FFFFFF#000000##000000
##7C901A1.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)
#978826
Tritanopia (blue-blind)
#84887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c901a;
/* rgb */ color: rgb(124, 144, 26);
/* oklch */ color: oklch(61.6% 0.137 119.4);
Tailwind
colors: {
  custom: {
    50: '#a5b063',
    500: '#7c901a',
    950: '#000000',
  },
}
SCSS
$custom: #7c901a;
$custom-light: #a5b063;
$custom-dark: #000000;
JSON
{
  "hex": "#7c901a",
  "rgb": {
    "r": 124,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 70.169,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61644,
    "c": 0.13681,
    "h": 119.4
  },
  "luminance": 0.24306
}

Semantic roles & 50–950 ramp

primary
#7C901A
secondary
#5B47BF
accent
#3CEC5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C901A

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

Preview Lab → · Contrast checker → · Palette generator →

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