#7D9F18#7D9F18

#7D9F18 is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 65.4% C 0.155 H 123.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#7D9F18
RGBrgb(125, 159, 24)
HSLhsl(75, 74%, 36%)
HSVhsv(75, 85%, 62%)
CMYKcmyk(21.4%, 0%, 84.9%, 37.6%)
CIE-LABlab(60.98, -29.43, 59.25)
CIE-LCHlch(60.98, 66.16, 116.41°)
OKLaboklab(65.36% -0.0865 0.1286)
OKLCHoklch(65.36% 0.155 123.9)
XYZxyz(21.0207, 29.2220, 5.3969)
Luminance0.2922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9F18 #3A189F
analogous
#9F7D18 #7D9F18 #399F18
triadic
#7D9F18 #187D9F #9F187D
tetradic
#7D9F18 #189F7D #3A189F #9F1839
square
#7D9F18 #189F7D #3A189F #9F1839
split-complementary
#7D9F18 #18399F #7D189F
monochromatic
#293508 #536A10 #7D9F18 #A7D420 #BEE44D

Accessibility & contrast

On white

3.07
#7D9F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#7D9F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9F18
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9F18#FFFFFF#000000##000000
##7D9F181.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A49328
Tritanopia (blue-blind)
#849787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7d9f18;
/* rgb */ color: rgb(125, 159, 24);
/* oklch */ color: oklch(65.4% 0.155 123.9);
Tailwind
colors: {
  custom: {
    50: '#a7bb64',
    500: '#7d9f18',
    950: '#000000',
  },
}
SCSS
$custom: #7d9f18;
$custom-light: #a7bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9f18",
  "rgb": {
    "r": 125,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 75.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65363,
    "c": 0.15495,
    "h": 123.9
  },
  "luminance": 0.29222
}

Semantic roles & 50–950 ramp

primary
#7D9F18
secondary
#6B4DC6
accent
#37F066
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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