#468217#468217

#468217 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.5% C 0.148 H 135.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#468217
RGBrgb(70, 130, 23)
HSLhsl(94, 70%, 30%)
HSVhsv(94, 82%, 51%)
CMYKcmyk(46.2%, 0%, 82.3%, 49%)
CIE-LABlab(48.67, -37.61, 47.35)
CIE-LCHlch(48.67, 60.47, 128.46°)
OKLaboklab(54.5% -0.1053 0.1047)
OKLCHoklch(54.5% 0.148 135.2)
XYZxyz(10.6628, 17.3286, 3.5933)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#468217 #531782
analogous
#7B8217 #468217 #17821E
triadic
#468217 #174682 #821746
tetradic
#468217 #177B82 #531782 #821E17
square
#468217 #177B82 #531782 #821E17
split-complementary
#468217 #1E1782 #82177B
monochromatic
#0E1A05 #2A4E0E #468217 #62B620 #80DC38

Accessibility & contrast

On white

4.70
#468217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#468217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #468217
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##468217#FFFFFF#000000##FFFFFF
##4682171.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#447D6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #468217;
/* rgb */ color: rgb(70, 130, 23);
/* oklch */ color: oklch(54.5% 0.148 135.2);
Tailwind
colors: {
  custom: {
    50: '#80a75e',
    500: '#468217',
    950: '#000000',
  },
}
SCSS
$custom: #468217;
$custom-light: #80a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#468217",
  "rgb": {
    "r": 70,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 93.645,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.54499,
    "c": 0.14843,
    "h": 135.2
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#468217
secondary
#823EB6
accent
#3BED9F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #468217

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

Preview Lab → · Contrast checker → · Palette generator →

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