#468018#468018

#468018 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.0% C 0.145 H 135.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#468018
RGBrgb(70, 128, 24)
HSLhsl(93, 68%, 30%)
HSVhsv(93, 81%, 50%)
CMYKcmyk(45.3%, 0%, 81.3%, 49.8%)
CIE-LABlab(48.01, -36.70, 46.42)
CIE-LCHlch(48.01, 59.18, 128.33°)
OKLaboklab(53.96% -0.1028 0.1029)
OKLCHoklch(53.96% 0.145 135)
XYZxyz(10.4096, 16.8058, 3.5593)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#468018 #521880
analogous
#7A8018 #468018 #18801E
triadic
#468018 #184680 #801846
tetradic
#468018 #187A80 #521880 #801E18
square
#468018 #187A80 #521880 #801E18
split-complementary
#468018 #1E1880 #80187A
monochromatic
#0E1A05 #2A4C0E #468018 #62B422 #80DA39

Accessibility & contrast

On white

4.82
#468018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#468018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #468018
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##468018#FFFFFF#000000##FFFFFF
##4680181.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#457B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #468018;
/* rgb */ color: rgb(70, 128, 24);
/* oklch */ color: oklch(54.0% 0.145 135.0);
Tailwind
colors: {
  custom: {
    50: '#7fa55e',
    500: '#468018',
    950: '#000000',
  },
}
SCSS
$custom: #468018;
$custom-light: #7fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#468018",
  "rgb": {
    "r": 70,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 93.462,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53961,
    "c": 0.1454,
    "h": 135
  },
  "luminance": 0.16806
}

Semantic roles & 50–950 ramp

primary
#468018
secondary
#8140B4
accent
#3DEB9E
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #468018

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

Preview Lab → · Contrast checker → · Palette generator →

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