#468218#468218

#468218 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#468218
RGBrgb(70, 130, 24)
HSLhsl(94, 69%, 30%)
HSVhsv(94, 82%, 51%)
CMYKcmyk(46.2%, 0%, 81.5%, 49%)
CIE-LABlab(48.68, -37.55, 47.04)
CIE-LCHlch(48.68, 60.19, 128.60°)
OKLaboklab(54.51% -0.105 0.1042)
OKLCHoklch(54.51% 0.148 135.2)
XYZxyz(10.6730, 17.3327, 3.6471)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#468218 #541882
analogous
#7B8218 #468218 #18821F
triadic
#468218 #184682 #821846
tetradic
#468218 #187B82 #541882 #821F18
square
#468218 #187B82 #541882 #821F18
split-complementary
#468218 #1F1882 #82187B
monochromatic
#0E1B05 #2A4E0E #468218 #62B622 #80DB3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##468218#FFFFFF#000000##FFFFFF
##4682181.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)
#7F7224
Tritanopia (blue-blind)
#447D6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #468218;
/* rgb */ color: rgb(70, 130, 24);
/* oklch */ color: oklch(54.5% 0.148 135.2);
Tailwind
colors: {
  custom: {
    50: '#80a75f',
    500: '#468218',
    950: '#000000',
  },
}
SCSS
$custom: #468218;
$custom-light: #80a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#468218",
  "rgb": {
    "r": 70,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 93.962,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54505,
    "c": 0.14794,
    "h": 135.2
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#468218
secondary
#8340B6
accent
#3CEC9F
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #468218

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

Preview Lab → · Contrast checker → · Palette generator →

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