#7A9017#7A9017

#7A9017 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.5% C 0.139 H 120.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7A9017
RGBrgb(122, 144, 23)
HSLhsl(71, 72%, 33%)
HSVhsv(71, 84%, 56%)
CMYKcmyk(15.3%, 0%, 84%, 43.5%)
CIE-LABlab(56.23, -23.40, 55.32)
CIE-LCHlch(56.23, 60.06, 112.93°)
OKLaboklab(61.47% -0.07 0.1201)
OKLCHoklch(61.47% 0.139 120.2)
XYZxyz(18.1543, 24.1460, 4.5147)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9017 #2D1790
analogous
#906917 #7A9017 #3E9017
triadic
#7A9017 #177A90 #90177A
tetradic
#7A9017 #179069 #2D1790 #90173E
square
#7A9017 #179069 #2D1790 #90173E
split-complementary
#7A9017 #173E90 #691790
monochromatic
#212606 #4D5B0F #7A9017 #A7C51F #C4E141

Accessibility & contrast

On white

3.60
#7A9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#7A9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9017
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9017#FFFFFF#000000##000000
##7A90171.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#82887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a9017;
/* rgb */ color: rgb(122, 144, 23);
/* oklch */ color: oklch(61.5% 0.139 120.2);
Tailwind
colors: {
  custom: {
    50: '#a4b061',
    500: '#7a9017',
    950: '#000000',
  },
}
SCSS
$custom: #7a9017;
$custom-light: #a4b061;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9017",
  "rgb": {
    "r": 122,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 70.909,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61474,
    "c": 0.13898,
    "h": 120.2
  },
  "luminance": 0.24146
}

Semantic roles & 50–950 ramp

primary
#7A9017
secondary
#5942C1
accent
#39EF5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A9017

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

Preview Lab → · Contrast checker → · Palette generator →

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