#7A9015#7A9015

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

Color values

HEX#7A9015
RGBrgb(122, 144, 21)
HSLhsl(71, 75%, 32%)
HSVhsv(71, 85%, 56%)
CMYKcmyk(15.3%, 0%, 85.4%, 43.5%)
CIE-LABlab(56.23, -23.47, 55.83)
CIE-LCHlch(56.23, 60.56, 112.80°)
OKLaboklab(61.47% -0.0703 0.1208)
OKLCHoklch(61.47% 0.14 120.2)
XYZxyz(18.1350, 24.1383, 4.4131)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9015 #2B1590
analogous
#906915 #7A9015 #3C9015
triadic
#7A9015 #157A90 #90157A
tetradic
#7A9015 #159069 #2B1590 #90153C
square
#7A9015 #159069 #2B1590 #90153C
split-complementary
#7A9015 #153C90 #691590
monochromatic
#1F2505 #4D5B0D #7A9015 #A7C51D #C5E33D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A9015#FFFFFF#000000##000000
##7A90151.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)
#978723
Tritanopia (blue-blind)
#82887A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a9015;
/* rgb */ color: rgb(122, 144, 21);
/* oklch */ color: oklch(61.5% 0.140 120.2);
Tailwind
colors: {
  custom: {
    50: '#a4b061',
    500: '#7a9015',
    950: '#000000',
  },
}
SCSS
$custom: #7a9015;
$custom-light: #a4b061;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9015",
  "rgb": {
    "r": 122,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 70.732,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61466,
    "c": 0.1398,
    "h": 120.2
  },
  "luminance": 0.24138
}

Semantic roles & 50–950 ramp

primary
#7A9015
secondary
#563EC2
accent
#37F158
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A9015

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

Preview Lab → · Contrast checker → · Palette generator →

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