#7E9923#7E9923

#7E9923 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.142 H 122.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7E9923
RGBrgb(126, 153, 35)
HSLhsl(74, 63%, 37%)
HSVhsv(74, 77%, 60%)
CMYKcmyk(17.6%, 0%, 77.1%, 40%)
CIE-LABlab(59.29, -25.64, 54.56)
CIE-LCHlch(59.29, 60.29, 115.17°)
OKLaboklab(64.03% -0.0755 0.1204)
OKLCHoklch(64.03% 0.142 122.1)
XYZxyz(20.2991, 27.3394, 5.7974)
Luminance0.2734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9923 #3E2399
analogous
#997923 #7E9923 #439923
triadic
#7E9923 #237E99 #99237E
tetradic
#7E9923 #239979 #3E2399 #992343
square
#7E9923 #239979 #3E2399 #992343
split-complementary
#7E9923 #234399 #792399
monochromatic
#2C350C #556718 #7E9923 #A7CB2E #BDDA5D

Accessibility & contrast

On white

3.25
#7E9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#7E9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9923
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9923#FFFFFF#000000##000000
##7E99231.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F05
Deuteranopia (green-blind)
#9F8F2E
Tritanopia (blue-blind)
#859183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9923;
/* rgb */ color: rgb(126, 153, 35);
/* oklch */ color: oklch(64.0% 0.142 122.1);
Tailwind
colors: {
  custom: {
    50: '#a7b768',
    500: '#7e9923',
    950: '#000000',
  },
}
SCSS
$custom: #7e9923;
$custom-light: #a7b768;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9923",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 73.729,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6403,
    "c": 0.14211,
    "h": 122.1
  },
  "luminance": 0.27339
}

Semantic roles & 50–950 ramp

primary
#7E9923
secondary
#7059BE
accent
#42E667
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9923

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

Preview Lab → · Contrast checker → · Palette generator →

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