#7A9318#7A9318

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

Color values

HEX#7A9318
RGBrgb(122, 147, 24)
HSLhsl(72, 72%, 34%)
HSVhsv(72, 84%, 58%)
CMYKcmyk(17%, 0%, 83.7%, 42.4%)
CIE-LABlab(57.14, -24.86, 55.84)
CIE-LCHlch(57.14, 61.13, 114.00°)
OKLaboklab(62.21% -0.0739 0.1214)
OKLCHoklch(62.21% 0.142 121.3)
XYZxyz(18.6250, 25.0710, 4.7220)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9318 #311893
analogous
#936E18 #7A9318 #3C9318
triadic
#7A9318 #187A93 #93187A
tetradic
#7A9318 #18936E #311893 #93183C
square
#7A9318 #18936E #311893 #93183C
split-complementary
#7A9318 #183C93 #6E1893
monochromatic
#232A07 #4E5E0F #7A9318 #A6C821 #C1E145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A9318#FFFFFF#000000##000000
##7A93181.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)
#998926
Tritanopia (blue-blind)
#818B7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7a9318;
/* rgb */ color: rgb(122, 147, 24);
/* oklch */ color: oklch(62.2% 0.142 121.3);
Tailwind
colors: {
  custom: {
    50: '#a4b262',
    500: '#7a9318',
    950: '#000000',
  },
}
SCSS
$custom: #7a9318;
$custom-light: #a4b262;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9318",
  "rgb": {
    "r": 122,
    "g": 147,
    "b": 24
  },
  "hsl": {
    "h": 72.195,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62211,
    "c": 0.14211,
    "h": 121.3
  },
  "luminance": 0.25071
}

Semantic roles & 50–950 ramp

primary
#7A9318
secondary
#5E45C2
accent
#39EF5E
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9318

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

Preview Lab → · Contrast checker → · Palette generator →

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