#7A9623#7A9623

#7A9623 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 63.0% C 0.140 H 122.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7A9623
RGBrgb(122, 150, 35)
HSLhsl(75, 62%, 36%)
HSVhsv(75, 77%, 59%)
CMYKcmyk(18.7%, 0%, 76.7%, 41.2%)
CIE-LABlab(58.10, -25.86, 53.35)
CIE-LCHlch(58.10, 59.29, 115.86°)
OKLaboklab(63% -0.0758 0.118)
OKLCHoklch(63% 0.14 122.7)
XYZxyz(19.2360, 26.0715, 5.6087)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9623 #3F2396
analogous
#967923 #7A9623 #419623
triadic
#7A9623 #237A96 #96237A
tetradic
#7A9623 #239679 #3F2396 #962341
square
#7A9623 #239679 #3F2396 #962341
split-complementary
#7A9623 #234196 #792396
monochromatic
#29330C #526417 #7A9623 #A2C82F #BAD95B

Accessibility & contrast

On white

3.38
#7A9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7A9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9623
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9623#FFFFFF#000000##000000
##7A96231.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C07
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#818E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a9623;
/* rgb */ color: rgb(122, 150, 35);
/* oklch */ color: oklch(63.0% 0.140 122.7);
Tailwind
colors: {
  custom: {
    50: '#a4b567',
    500: '#7a9623',
    950: '#000000',
  },
}
SCSS
$custom: #7a9623;
$custom-light: #a4b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9623",
  "rgb": {
    "r": 122,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 74.609,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63004,
    "c": 0.14024,
    "h": 122.7
  },
  "luminance": 0.26072
}

Semantic roles & 50–950 ramp

primary
#7A9623
secondary
#7058BD
accent
#43E56A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9623

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

Preview Lab → · Contrast checker → · Palette generator →

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