#7D9918#7D9918

#7D9918 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.148 H 122.1°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7D9918
RGBrgb(125, 153, 24)
HSLhsl(73, 73%, 35%)
HSVhsv(73, 84%, 60%)
CMYKcmyk(18.3%, 0%, 84.3%, 40%)
CIE-LABlab(59.17, -26.53, 57.69)
CIE-LCHlch(59.17, 63.49, 114.70°)
OKLaboklab(63.9% -0.0786 0.1252)
OKLCHoklch(63.9% 0.148 122.1)
XYZxyz(20.0139, 27.2083, 5.0613)
Luminance0.2721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9918 #341899
analogous
#997418 #7D9918 #3D9918
triadic
#7D9918 #187D99 #99187D
tetradic
#7D9918 #189974 #341899 #99183D
square
#7D9918 #189974 #341899 #99183D
split-complementary
#7D9918 #183D99 #741899
monochromatic
#272F07 #526410 #7D9918 #A8CE20 #C1E249

Accessibility & contrast

On white

3.26
#7D9918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#7D9918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9918
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9918#FFFFFF#000000##000000
##7D99181.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#9F8E27
Tritanopia (blue-blind)
#849182
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d9918;
/* rgb */ color: rgb(125, 153, 24);
/* oklch */ color: oklch(63.9% 0.148 122.1);
Tailwind
colors: {
  custom: {
    50: '#a6b763',
    500: '#7d9918',
    950: '#000000',
  },
}
SCSS
$custom: #7d9918;
$custom-light: #a6b763;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9918",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 24
  },
  "hsl": {
    "h": 73.023,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63898,
    "c": 0.14785,
    "h": 122.1
  },
  "luminance": 0.27208
}

Semantic roles & 50–950 ramp

primary
#7D9918
secondary
#6449C4
accent
#38F060
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9918

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

Preview Lab → · Contrast checker → · Palette generator →

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