#507018#507018

#507018 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.3% C 0.119 H 128.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#507018
RGBrgb(80, 112, 24)
HSLhsl(82, 65%, 27%)
HSVhsv(82, 79%, 44%)
CMYKcmyk(28.6%, 0%, 78.6%, 56.1%)
CIE-LABlab(43.30, -25.47, 42.14)
CIE-LCHlch(43.30, 49.24, 121.15°)
OKLaboklab(50.26% -0.0731 0.0937)
OKLCHoklch(50.26% 0.119 128)
XYZxyz(9.2673, 13.3595, 2.9544)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507018 #381870
analogous
#706418 #507018 #247018
triadic
#507018 #185070 #701850
tetradic
#507018 #187064 #381870 #701824
square
#507018 #187064 #381870 #701824
split-complementary
#507018 #182470 #641870
monochromatic
#121905 #2C3E0D #507018 #74A223 #97D330

Accessibility & contrast

On white

5.72
#507018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#507018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507018
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507018#FFFFFF#000000##FFFFFF
##5070181.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766805
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#536B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #507018;
/* rgb */ color: rgb(80, 112, 24);
/* oklch */ color: oklch(50.3% 0.119 128.0);
Tailwind
colors: {
  custom: {
    50: '#84995c',
    500: '#507018',
    950: '#000000',
  },
}
SCSS
$custom: #507018;
$custom-light: #84995c;
$custom-dark: #000000;
JSON
{
  "hex": "#507018",
  "rgb": {
    "r": 80,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 81.818,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50259,
    "c": 0.11881,
    "h": 128
  },
  "luminance": 0.1336
}

Semantic roles & 50–950 ramp

primary
#507018
secondary
#643EA5
accent
#40E87D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #507018

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

Preview Lab → · Contrast checker → · Palette generator →

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