#7C9121#7C9121

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

Color values

HEX#7C9121
RGBrgb(124, 145, 33)
HSLhsl(71, 63%, 35%)
HSVhsv(71, 77%, 57%)
CMYKcmyk(14.5%, 0%, 77.2%, 43.1%)
CIE-LABlab(56.73, -22.61, 52.79)
CIE-LCHlch(56.73, 57.43, 113.19°)
OKLaboklab(61.93% -0.0672 0.1164)
OKLCHoklch(61.93% 0.134 120)
XYZxyz(18.7125, 24.6458, 5.2099)
Luminance0.2465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9121 #362191
analogous
#916E21 #7C9121 #449121
triadic
#7C9121 #217C91 #91217C
tetradic
#7C9121 #21916E #362191 #912144
square
#7C9121 #21916E #362191 #912144
split-complementary
#7C9121 #214491 #6E2191
monochromatic
#272D0A #515F16 #7C9121 #A7C32C #BFD854

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C9121#FFFFFF#000000##000000
##7C91211.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)
#9B8805
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#83897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7c9121;
/* rgb */ color: rgb(124, 145, 33);
/* oklch */ color: oklch(61.9% 0.134 120.0);
Tailwind
colors: {
  custom: {
    50: '#a5b166',
    500: '#7c9121',
    950: '#000000',
  },
}
SCSS
$custom: #7c9121;
$custom-light: #a5b166;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9121",
  "rgb": {
    "r": 124,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 71.25,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61926,
    "c": 0.13439,
    "h": 120
  },
  "luminance": 0.24646
}

Semantic roles & 50–950 ramp

primary
#7C9121
secondary
#6652BC
accent
#42E661
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C9121

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

Preview Lab → · Contrast checker → · Palette generator →

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