#7E9723#7E9723

#7E9723 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.5% C 0.140 H 121.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7E9723
RGBrgb(126, 151, 35)
HSLhsl(73, 62%, 36%)
HSVhsv(73, 77%, 59%)
CMYKcmyk(16.6%, 0%, 76.8%, 40.8%)
CIE-LABlab(58.69, -24.66, 54.00)
CIE-LCHlch(58.69, 59.36, 114.54°)
OKLaboklab(63.54% -0.0728 0.1192)
OKLCHoklch(63.54% 0.14 121.4)
XYZxyz(19.9745, 26.6902, 5.6892)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9723 #3C2397
analogous
#977623 #7E9723 #449723
triadic
#7E9723 #237E97 #97237E
tetradic
#7E9723 #239776 #3C2397 #972344
square
#7E9723 #239776 #3C2397 #972344
split-complementary
#7E9723 #234497 #762397
monochromatic
#2B340C #556517 #7E9723 #A7C92F #BED95B

Accessibility & contrast

On white

3.31
#7E9723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#7E9723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9723
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9723#FFFFFF#000000##000000
##7E97231.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E07
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#858F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9723;
/* rgb */ color: rgb(126, 151, 35);
/* oklch */ color: oklch(63.5% 0.140 121.4);
Tailwind
colors: {
  custom: {
    50: '#a7b568',
    500: '#7e9723',
    950: '#000000',
  },
}
SCSS
$custom: #7e9723;
$custom-light: #a7b568;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9723",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 72.931,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63545,
    "c": 0.13968,
    "h": 121.4
  },
  "luminance": 0.2669
}

Semantic roles & 50–950 ramp

primary
#7E9723
secondary
#6E58BE
accent
#42E566
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9723

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

Preview Lab → · Contrast checker → · Palette generator →

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