#468B18#468B18

#468B18 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 56.9% C 0.159 H 136.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#468B18
RGBrgb(70, 139, 24)
HSLhsl(96, 71%, 32%)
HSVhsv(96, 83%, 55%)
CMYKcmyk(49.6%, 0%, 82.7%, 45.5%)
CIE-LABlab(51.65, -41.29, 49.80)
CIE-LCHlch(51.65, 64.69, 129.66°)
OKLaboklab(56.95% -0.1151 0.1099)
OKLCHoklch(56.95% 0.159 136.3)
XYZxyz(11.9229, 19.8325, 4.0638)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#468B18 #5D188B
analogous
#808B18 #468B18 #188B24
triadic
#468B18 #18468B #8B1846
tetradic
#468B18 #18808B #5D188B #8B2418
square
#468B18 #18808B #5D188B #8B2418
split-complementary
#468B18 #24188B #8B1880
monochromatic
#112306 #2C570F #468B18 #60BF21 #7FDE3F

Accessibility & contrast

On white

4.23
#468B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#468B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #468B18
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##468B18#FFFFFF#000000##000000
##468B181.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#877926
Tritanopia (blue-blind)
#438676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #468b18;
/* rgb */ color: rgb(70, 139, 24);
/* oklch */ color: oklch(56.9% 0.159 136.3);
Tailwind
colors: {
  custom: {
    50: '#81ad60',
    500: '#468b18',
    950: '#000000',
  },
}
SCSS
$custom: #468b18;
$custom-light: #81ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#468b18",
  "rgb": {
    "r": 70,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 96,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56946,
    "c": 0.15915,
    "h": 136.3
  },
  "luminance": 0.19833
}

Semantic roles & 50–950 ramp

primary
#468B18
secondary
#8C40BE
accent
#3AEDA6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #468B18

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

Preview Lab → · Contrast checker → · Palette generator →

#468B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva