#7E9623#7E9623

#7E9623 is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.3% C 0.138 H 121.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7E9623
RGBrgb(126, 150, 35)
HSLhsl(73, 62%, 36%)
HSVhsv(73, 77%, 59%)
CMYKcmyk(16%, 0%, 76.7%, 41.2%)
CIE-LABlab(58.39, -24.16, 53.72)
CIE-LCHlch(58.39, 58.90, 114.22°)
OKLaboklab(63.3% -0.0714 0.1186)
OKLCHoklch(63.3% 0.138 121)
XYZxyz(19.8142, 26.3697, 5.6358)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9623 #3B2396
analogous
#967523 #7E9623 #459623
triadic
#7E9623 #237E96 #96237E
tetradic
#7E9623 #239675 #3B2396 #962345
square
#7E9623 #239675 #3B2396 #962345
split-complementary
#7E9623 #234596 #752396
monochromatic
#2B330C #546417 #7E9623 #A8C82F #BED95B

Accessibility & contrast

On white

3.35
#7E9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#7E9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9623
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9623#FFFFFF#000000##000000
##7E96231.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D07
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#858E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e9623;
/* rgb */ color: rgb(126, 150, 35);
/* oklch */ color: oklch(63.3% 0.138 121.0);
Tailwind
colors: {
  custom: {
    50: '#a7b467',
    500: '#7e9623',
    950: '#000000',
  },
}
SCSS
$custom: #7e9623;
$custom-light: #a7b467;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9623",
  "rgb": {
    "r": 126,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 72.522,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63303,
    "c": 0.13846,
    "h": 121
  },
  "luminance": 0.2637
}

Semantic roles & 50–950 ramp

primary
#7E9623
secondary
#6D58BD
accent
#43E565
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9623

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

Preview Lab → · Contrast checker → · Palette generator →

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