#7D9E15#7D9E15

#7D9E15 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.1% C 0.155 H 123.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7D9E15
RGBrgb(125, 158, 21)
HSLhsl(74, 77%, 35%)
HSVhsv(74, 87%, 62%)
CMYKcmyk(20.9%, 0%, 86.7%, 38%)
CIE-LABlab(60.66, -29.05, 59.69)
CIE-LCHlch(60.66, 66.38, 115.95°)
OKLaboklab(65.11% -0.0856 0.129)
OKLCHoklch(65.11% 0.155 123.6)
XYZxyz(20.8200, 28.8677, 5.1845)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9E15 #36159E
analogous
#9E7B15 #7D9E15 #389E15
triadic
#7D9E15 #157D9E #9E157D
tetradic
#7D9E15 #159E7B #36159E #9E1538
square
#7D9E15 #159E7B #36159E #9E1538
split-complementary
#7D9E15 #15389E #7B159E
monochromatic
#283207 #52680E #7D9E15 #A8D41C #C0E747

Accessibility & contrast

On white

3.10
#7D9E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#7D9E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9E15
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9E15#FFFFFF#000000##000000
##7D9E151.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89300
Deuteranopia (green-blind)
#A39226
Tritanopia (blue-blind)
#849686
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d9e15;
/* rgb */ color: rgb(125, 158, 21);
/* oklch */ color: oklch(65.1% 0.155 123.6);
Tailwind
colors: {
  custom: {
    50: '#a7ba63',
    500: '#7d9e15',
    950: '#000000',
  },
}
SCSS
$custom: #7d9e15;
$custom-light: #a7ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9e15",
  "rgb": {
    "r": 125,
    "g": 158,
    "b": 21
  },
  "hsl": {
    "h": 74.453,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65107,
    "c": 0.15487,
    "h": 123.6
  },
  "luminance": 0.28868
}

Semantic roles & 50–950 ramp

primary
#7D9E15
secondary
#6647C7
accent
#35F363
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9E15

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

Preview Lab → · Contrast checker → · Palette generator →

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