#7E9323#7E9323

#7E9323 is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.6% C 0.135 H 119.9°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7E9323
RGBrgb(126, 147, 35)
HSLhsl(71, 62%, 36%)
HSVhsv(71, 76%, 58%)
CMYKcmyk(14.3%, 0%, 76.2%, 42.4%)
CIE-LABlab(57.49, -22.66, 52.87)
CIE-LCHlch(57.49, 57.52, 113.20°)
OKLaboklab(62.58% -0.0673 0.1168)
OKLCHoklch(62.58% 0.135 119.9)
XYZxyz(19.3417, 25.4245, 5.4783)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9323 #382393
analogous
#937023 #7E9323 #469323
triadic
#7E9323 #237E93 #93237E
tetradic
#7E9323 #239370 #382393 #932346
square
#7E9323 #239370 #382393 #932346
split-complementary
#7E9323 #234693 #702393
monochromatic
#29300B #546217 #7E9323 #A8C42F #C0D759

Accessibility & contrast

On white

3.45
#7E9323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7E9323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9323
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9323#FFFFFF#000000##000000
##7E93231.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A09
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#868B7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e9323;
/* rgb */ color: rgb(126, 147, 35);
/* oklch */ color: oklch(62.6% 0.135 119.9);
Tailwind
colors: {
  custom: {
    50: '#a7b267',
    500: '#7e9323',
    950: '#000000',
  },
}
SCSS
$custom: #7e9323;
$custom-light: #a7b267;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9323",
  "rgb": {
    "r": 126,
    "g": 147,
    "b": 35
  },
  "hsl": {
    "h": 71.25,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62577,
    "c": 0.13482,
    "h": 119.9
  },
  "luminance": 0.25424
}

Semantic roles & 50–950 ramp

primary
#7E9323
secondary
#6956BC
accent
#43E561
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9323

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

Preview Lab → · Contrast checker → · Palette generator →

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