#7C9124#7C9124

#7C9124 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.9% C 0.133 H 120.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7C9124
RGBrgb(124, 145, 36)
HSLhsl(72, 60%, 35%)
HSVhsv(72, 75%, 57%)
CMYKcmyk(14.5%, 0%, 75.2%, 43.1%)
CIE-LABlab(56.75, -22.46, 51.76)
CIE-LCHlch(56.75, 56.42, 113.46°)
OKLaboklab(61.94% -0.0665 0.1147)
OKLCHoklch(61.94% 0.133 120.1)
XYZxyz(18.7564, 24.6633, 5.4411)
Luminance0.2466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9124 #392491
analogous
#917024 #7C9124 #459124
triadic
#7C9124 #247C91 #91247C
tetradic
#7C9124 #249170 #392491 #912445
square
#7C9124 #249170 #392491 #912445
split-complementary
#7C9124 #244591 #702491
monochromatic
#282F0C #526018 #7C9124 #A6C230 #BED659

Accessibility & contrast

On white

3.54
#7C9124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#7C9124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9124
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9124#FFFFFF#000000##000000
##7C91241.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880D
Deuteranopia (green-blind)
#98882E
Tritanopia (blue-blind)
#83897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7c9124;
/* rgb */ color: rgb(124, 145, 36);
/* oklch */ color: oklch(61.9% 0.133 120.1);
Tailwind
colors: {
  custom: {
    50: '#a5b167',
    500: '#7c9124',
    950: '#000000',
  },
}
SCSS
$custom: #7c9124;
$custom-light: #a5b167;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9124",
  "rgb": {
    "r": 124,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 71.56,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61945,
    "c": 0.13263,
    "h": 120.1
  },
  "luminance": 0.24663
}

Semantic roles & 50–950 ramp

primary
#7C9124
secondary
#6A56BA
accent
#44E363
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C9124

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

Preview Lab → · Contrast checker → · Palette generator →

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