#507118#507118

#507118 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.120 H 128.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#507118
RGBrgb(80, 113, 24)
HSLhsl(82, 65%, 27%)
HSVhsv(82, 79%, 44%)
CMYKcmyk(29.2%, 0%, 78.8%, 55.7%)
CIE-LABlab(43.63, -25.96, 42.46)
CIE-LCHlch(43.63, 49.77, 121.45°)
OKLaboklab(50.53% -0.0744 0.0943)
OKLCHoklch(50.53% 0.12 128.3)
XYZxyz(9.3783, 13.5814, 2.9914)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507118 #391871
analogous
#716618 #507118 #247118
triadic
#507118 #185071 #711850
tetradic
#507118 #187166 #391871 #711824
square
#507118 #187166 #391871 #711824
split-complementary
#507118 #182471 #661871
monochromatic
#121905 #2C3F0D #507118 #74A323 #97D330

Accessibility & contrast

On white

5.65
#507118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#507118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507118
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507118#FFFFFF#000000##FFFFFF
##5071181.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#536C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #507118;
/* rgb */ color: rgb(80, 113, 24);
/* oklch */ color: oklch(50.5% 0.120 128.3);
Tailwind
colors: {
  custom: {
    50: '#849a5c',
    500: '#507118',
    950: '#000000',
  },
}
SCSS
$custom: #507118;
$custom-light: #849a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#507118",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 82.247,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50525,
    "c": 0.12014,
    "h": 128.3
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#507118
secondary
#653EA6
accent
#40E87E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507118

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

Preview Lab → · Contrast checker → · Palette generator →

#507118 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva