#7C9022#7C9022

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

Color values

HEX#7C9022
RGBrgb(124, 144, 34)
HSLhsl(71, 62%, 35%)
HSVhsv(71, 76%, 56%)
CMYKcmyk(13.9%, 0%, 76.4%, 43.5%)
CIE-LABlab(56.43, -22.06, 52.17)
CIE-LCHlch(56.43, 56.64, 112.92°)
OKLaboklab(61.69% -0.0656 0.1153)
OKLCHoklch(61.69% 0.133 119.6)
XYZxyz(18.5745, 24.3472, 5.2340)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9022 #362290
analogous
#906D22 #7C9022 #459022
triadic
#7C9022 #227C90 #90227C
tetradic
#7C9022 #22906D #362290 #902245
square
#7C9022 #22906D #362290 #902245
split-complementary
#7C9022 #224590 #6D2290
monochromatic
#272D0B #515E16 #7C9022 #A7C22E #BFD755

Accessibility & contrast

On white

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

On black

5.87
#7C9022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9022
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9022#FFFFFF#000000##000000
##7C90221.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8709
Deuteranopia (green-blind)
#97882C
Tritanopia (blue-blind)
#83887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c9022;
/* rgb */ color: rgb(124, 144, 34);
/* oklch */ color: oklch(61.7% 0.133 119.6);
Tailwind
colors: {
  custom: {
    50: '#a5b066',
    500: '#7c9022',
    950: '#000000',
  },
}
SCSS
$custom: #7c9022;
$custom-light: #a5b066;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9022",
  "rgb": {
    "r": 124,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 70.909,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6169,
    "c": 0.13261,
    "h": 119.6
  },
  "luminance": 0.24347
}

Semantic roles & 50–950 ramp

primary
#7C9022
secondary
#6653BB
accent
#43E560
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C9022

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

Preview Lab → · Contrast checker → · Palette generator →

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