#468B17#468B17

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

Color values

HEX#468B17
RGBrgb(70, 139, 23)
HSLhsl(96, 72%, 32%)
HSVhsv(96, 83%, 55%)
CMYKcmyk(49.6%, 0%, 83.5%, 45.5%)
CIE-LABlab(51.64, -41.34, 50.08)
CIE-LCHlch(51.64, 64.94, 129.54°)
OKLaboklab(56.94% -0.1153 0.1104)
OKLCHoklch(56.94% 0.16 136.2)
XYZxyz(11.9127, 19.8284, 4.0100)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#468B17 #5C178B
analogous
#808B17 #468B17 #178B22
triadic
#468B17 #17468B #8B1746
tetradic
#468B17 #17808B #5C178B #8B2217
square
#468B17 #17808B #5C178B #8B2217
split-complementary
#468B17 #22178B #8B1780
monochromatic
#112206 #2C560E #468B17 #60C020 #7FDF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##468B17#FFFFFF#000000##000000
##468B171.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)
#877925
Tritanopia (blue-blind)
#438676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #468b17;
/* rgb */ color: rgb(70, 139, 23);
/* oklch */ color: oklch(56.9% 0.160 136.2);
Tailwind
colors: {
  custom: {
    50: '#81ad60',
    500: '#468b17',
    950: '#000000',
  },
}
SCSS
$custom: #468b17;
$custom-light: #81ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#468b17",
  "rgb": {
    "r": 70,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 95.69,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56941,
    "c": 0.1596,
    "h": 136.2
  },
  "luminance": 0.19829
}

Semantic roles & 50–950 ramp

primary
#468B17
secondary
#8B3FBF
accent
#39EEA5
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #468B17

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

Preview Lab → · Contrast checker → · Palette generator →

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