#7A9223#7A9223

#7A9223 is a light, vivid yellow-green. Relative luminance 0.248; OKLCH L 62.0% C 0.135 H 121.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7A9223
RGBrgb(122, 146, 35)
HSLhsl(73, 61%, 35%)
HSVhsv(73, 76%, 57%)
CMYKcmyk(16.4%, 0%, 76%, 42.7%)
CIE-LABlab(56.90, -23.88, 52.20)
CIE-LCHlch(56.90, 57.41, 114.58°)
OKLaboklab(62.03% -0.0704 0.1156)
OKLCHoklch(62.03% 0.135 121.3)
XYZxyz(18.6086, 24.8167, 5.3995)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9223 #3B2392
analogous
#927223 #7A9223 #429223
triadic
#7A9223 #237A92 #92237A
tetradic
#7A9223 #239272 #3B2392 #922342
square
#7A9223 #239272 #3B2392 #922342
split-complementary
#7A9223 #234292 #722392
monochromatic
#272F0B #516117 #7A9223 #A3C32F #BCD758

Accessibility & contrast

On white

3.52
#7A9223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#7A9223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9223
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9223#FFFFFF#000000##000000
##7A92231.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890A
Deuteranopia (green-blind)
#98892D
Tritanopia (blue-blind)
#818A7D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7a9223;
/* rgb */ color: rgb(122, 146, 35);
/* oklch */ color: oklch(62.0% 0.135 121.3);
Tailwind
colors: {
  custom: {
    50: '#a4b267',
    500: '#7a9223',
    950: '#000000',
  },
}
SCSS
$custom: #7a9223;
$custom-light: #a4b267;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9223",
  "rgb": {
    "r": 122,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 72.973,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62028,
    "c": 0.13531,
    "h": 121.3
  },
  "luminance": 0.24817
}

Semantic roles & 50–950 ramp

primary
#7A9223
secondary
#6C55BB
accent
#43E466
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A9223

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

Preview Lab → · Contrast checker → · Palette generator →

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