#7A9316#7A9316

#7A9316 is a light, vivid yellow-green. Relative luminance 0.251; OKLCH L 62.2% C 0.143 H 121.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7A9316
RGBrgb(122, 147, 22)
HSLhsl(72, 74%, 33%)
HSVhsv(72, 85%, 58%)
CMYKcmyk(17%, 0%, 85%, 42.4%)
CIE-LABlab(57.14, -24.93, 56.36)
CIE-LCHlch(57.14, 61.63, 113.86°)
OKLaboklab(62.2% -0.0742 0.1221)
OKLCHoklch(62.2% 0.143 121.3)
XYZxyz(18.6049, 25.0629, 4.6164)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9316 #2F1693
analogous
#936D16 #7A9316 #3B9316
triadic
#7A9316 #167A93 #93167A
tetradic
#7A9316 #16936D #2F1693 #93163B
square
#7A9316 #16936D #2F1693 #93163B
split-complementary
#7A9316 #163B93 #6D1693
monochromatic
#222906 #4E5E0E #7A9316 #A6C81E #C2E341

Accessibility & contrast

On white

3.49
#7A9316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#7A9316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9316
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9316#FFFFFF#000000##000000
##7A93161.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#998924
Tritanopia (blue-blind)
#818B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7a9316;
/* rgb */ color: rgb(122, 147, 22);
/* oklch */ color: oklch(62.2% 0.143 121.3);
Tailwind
colors: {
  custom: {
    50: '#a4b262',
    500: '#7a9316',
    950: '#000000',
  },
}
SCSS
$custom: #7a9316;
$custom-light: #a4b262;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9316",
  "rgb": {
    "r": 122,
    "g": 147,
    "b": 22
  },
  "hsl": {
    "h": 72,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.62202,
    "c": 0.14293,
    "h": 121.3
  },
  "luminance": 0.25063
}

Semantic roles & 50–950 ramp

primary
#7A9316
secondary
#5C42C3
accent
#37F15C
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9316

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

Preview Lab → · Contrast checker → · Palette generator →

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