#7A9012#7A9012

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

Color values

HEX#7A9012
RGBrgb(122, 144, 18)
HSLhsl(70, 78%, 32%)
HSVhsv(70, 88%, 56%)
CMYKcmyk(15.3%, 0%, 87.5%, 43.5%)
CIE-LABlab(56.22, -23.56, 56.53)
CIE-LCHlch(56.22, 61.25, 112.63°)
OKLaboklab(61.45% -0.0707 0.1219)
OKLCHoklch(61.45% 0.141 120.1)
XYZxyz(18.1089, 24.1278, 4.2753)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9012 #281290
analogous
#906712 #7A9012 #3B9012
triadic
#7A9012 #127A90 #90127A
tetradic
#7A9012 #129067 #281290 #90123B
square
#7A9012 #129067 #281290 #90123B
split-complementary
#7A9012 #123B90 #671290
monochromatic
#1E2304 #4C5A0B #7A9012 #A8C619 #C7E636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7a9012;
/* rgb */ color: rgb(122, 144, 18);
/* oklch */ color: oklch(61.5% 0.141 120.1);
Tailwind
colors: {
  custom: {
    50: '#a4b060',
    500: '#7a9012',
    950: '#000000',
  },
}
SCSS
$custom: #7a9012;
$custom-light: #a4b060;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9012",
  "rgb": {
    "r": 122,
    "g": 144,
    "b": 18
  },
  "hsl": {
    "h": 70.476,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61454,
    "c": 0.14091,
    "h": 120.1
  },
  "luminance": 0.24128
}

Semantic roles & 50–950 ramp

primary
#7A9012
secondary
#523AC4
accent
#34F455
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A9012

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

Preview Lab → · Contrast checker → · Palette generator →

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