#518C2E#518C2E

#518C2E is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.141 H 135.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#518C2E
RGBrgb(81, 140, 46)
HSLhsl(98, 51%, 36%)
HSVhsv(98, 67%, 55%)
CMYKcmyk(42.1%, 0%, 67.1%, 45.1%)
CIE-LABlab(52.62, -36.43, 42.71)
CIE-LCHlch(52.62, 56.14, 130.47°)
OKLaboklab(57.93% -0.1012 0.0981)
OKLCHoklch(57.93% 0.141 135.9)
XYZxyz(13.2642, 20.7020, 5.8812)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518C2E #692E8C
analogous
#808C2E #518C2E #2E8C3A
triadic
#518C2E #2E518C #8C2E51
tetradic
#518C2E #2E808C #692E8C #8C3A2E
square
#518C2E #2E808C #692E8C #8C3A2E
split-complementary
#518C2E #3A2E8C #8C2E80
monochromatic
#1C3010 #365E1F #518C2E #6CBA3D #8DCD67

Accessibility & contrast

On white

4.09
#518C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#518C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518C2E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518C2E#FFFFFF#000000##000000
##518C2E1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#4F8779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #518c2e;
/* rgb */ color: rgb(81, 140, 46);
/* oklch */ color: oklch(57.9% 0.141 135.9);
Tailwind
colors: {
  custom: {
    50: '#87ae6b',
    500: '#518c2e',
    950: '#000000',
  },
}
SCSS
$custom: #518c2e;
$custom-light: #87ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#518c2e",
  "rgb": {
    "r": 81,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 97.66,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.14095,
    "h": 135.9
  },
  "luminance": 0.20703
}

Semantic roles & 50–950 ramp

primary
#518C2E
secondary
#9562B4
accent
#4EDAA6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #518C2E

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

Preview Lab → · Contrast checker → · Palette generator →

#518C2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva