#7C901B#7C901B

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

Color values

HEX#7C901B
RGBrgb(124, 144, 27)
HSLhsl(70, 68%, 34%)
HSVhsv(70, 81%, 56%)
CMYKcmyk(13.9%, 0%, 81.3%, 43.5%)
CIE-LABlab(56.40, -22.38, 54.39)
CIE-LCHlch(56.40, 58.81, 112.36°)
OKLaboklab(61.65% -0.067 0.1187)
OKLCHoklch(61.65% 0.136 119.4)
XYZxyz(18.4837, 24.3108, 4.7554)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C901B #2F1B90
analogous
#90691B #7C901B #42901B
triadic
#7C901B #1B7C90 #901B7C
tetradic
#7C901B #1B9069 #2F1B90 #901B42
square
#7C901B #1B9069 #2F1B90 #901B42
split-complementary
#7C901B #1B4290 #691B90
monochromatic
#232908 #505C11 #7C901B #A8C425 #C3DD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7c901b;
/* rgb */ color: rgb(124, 144, 27);
/* oklch */ color: oklch(61.6% 0.136 119.4);
Tailwind
colors: {
  custom: {
    50: '#a5b063',
    500: '#7c901b',
    950: '#000000',
  },
}
SCSS
$custom: #7c901b;
$custom-light: #a5b063;
$custom-dark: #000000;
JSON
{
  "hex": "#7c901b",
  "rgb": {
    "r": 124,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 70.256,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61649,
    "c": 0.13634,
    "h": 119.4
  },
  "luminance": 0.24311
}

Semantic roles & 50–950 ramp

primary
#7C901B
secondary
#5C48BF
accent
#3DEB5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C901B

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

Preview Lab → · Contrast checker → · Palette generator →

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