#7E9518#7E9518

#7E9518 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 63.0% C 0.143 H 120.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7E9518
RGBrgb(126, 149, 24)
HSLhsl(71, 72%, 34%)
HSVhsv(71, 84%, 58%)
CMYKcmyk(15.4%, 0%, 83.9%, 41.6%)
CIE-LABlab(58.03, -24.13, 56.73)
CIE-LCHlch(58.03, 61.65, 113.04°)
OKLaboklab(63% -0.0721 0.1231)
OKLCHoklch(63% 0.143 120.4)
XYZxyz(19.5169, 25.9965, 4.8536)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9518 #2F1895
analogous
#956E18 #7E9518 #409518
triadic
#7E9518 #187E95 #95187E
tetradic
#7E9518 #18956E #2F1895 #951840
square
#7E9518 #18956E #2F1895 #951840
split-complementary
#7E9518 #184095 #6E1895
monochromatic
#252C07 #516010 #7E9518 #ABCA20 #C5E146

Accessibility & contrast

On white

3.39
#7E9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7E9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9518
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9518#FFFFFF#000000##000000
##7E95181.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9C8C26
Tritanopia (blue-blind)
#868D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7e9518;
/* rgb */ color: rgb(126, 149, 24);
/* oklch */ color: oklch(63.0% 0.143 120.4);
Tailwind
colors: {
  custom: {
    50: '#a7b463',
    500: '#7e9518',
    950: '#000000',
  },
}
SCSS
$custom: #7e9518;
$custom-light: #a7b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9518",
  "rgb": {
    "r": 126,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 71.04,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63002,
    "c": 0.1427,
    "h": 120.4
  },
  "luminance": 0.25996
}

Semantic roles & 50–950 ramp

primary
#7E9518
secondary
#5D46C2
accent
#39EF5A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9518

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

Preview Lab → · Contrast checker → · Palette generator →

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