#7D8F27#7D8F27

#7D8F27 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.6% C 0.128 H 118.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7D8F27
RGBrgb(125, 143, 39)
HSLhsl(70, 57%, 36%)
HSVhsv(70, 73%, 56%)
CMYKcmyk(12.6%, 0%, 72.7%, 43.9%)
CIE-LABlab(56.24, -20.85, 50.18)
CIE-LCHlch(56.24, 54.34, 112.56°)
OKLaboklab(61.56% -0.0618 0.1119)
OKLCHoklch(61.56% 0.128 118.9)
XYZxyz(18.6465, 24.1515, 5.5985)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8F27 #39278F
analogous
#8F6D27 #7D8F27 #498F27
triadic
#7D8F27 #277D8F #8F277D
tetradic
#7D8F27 #278F6D #39278F #8F2749
square
#7D8F27 #278F6D #39278F #8F2749
split-complementary
#7D8F27 #27498F #6D278F
monochromatic
#292F0D #535F1A #7D8F27 #A7BF34 #BFD35D

Accessibility & contrast

On white

3.60
#7D8F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#7D8F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8F27
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8F27#FFFFFF#000000##000000
##7D8F271.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988715
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#85877B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7d8f27;
/* rgb */ color: rgb(125, 143, 39);
/* oklch */ color: oklch(61.6% 0.128 118.9);
Tailwind
colors: {
  custom: {
    50: '#a6af68',
    500: '#7d8f27',
    950: '#000000',
  },
}
SCSS
$custom: #7d8f27;
$custom-light: #a6af68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8f27",
  "rgb": {
    "r": 125,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 70.385,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61562,
    "c": 0.12786,
    "h": 118.9
  },
  "luminance": 0.24151
}

Semantic roles & 50–950 ramp

primary
#7D8F27
secondary
#6A5AB8
accent
#47E062
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D8F27

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

Preview Lab → · Contrast checker → · Palette generator →

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