#468012#468012

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

Color values

HEX#468012
RGBrgb(70, 128, 18)
HSLhsl(92, 75%, 29%)
HSVhsv(92, 86%, 50%)
CMYKcmyk(45.3%, 0%, 85.9%, 49.8%)
CIE-LABlab(47.99, -37.01, 48.18)
CIE-LCHlch(47.99, 60.75, 127.53°)
OKLaboklab(53.93% -0.1039 0.1056)
OKLCHoklch(53.93% 0.148 134.5)
XYZxyz(10.3539, 16.7835, 3.2661)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#468012 #4C1280
analogous
#7D8012 #468012 #128015
triadic
#468012 #124680 #801246
tetradic
#468012 #127D80 #4C1280 #801512
square
#468012 #127D80 #4C1280 #801512
split-complementary
#468012 #151280 #80127D
monochromatic
#0F1B04 #294A0A #468012 #63B61A #81E12B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##468012#FFFFFF#000000##FFFFFF
##4680121.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)
#7E7020
Tritanopia (blue-blind)
#457B6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #468012;
/* rgb */ color: rgb(70, 128, 18);
/* oklch */ color: oklch(53.9% 0.148 134.5);
Tailwind
colors: {
  custom: {
    50: '#80a55c',
    500: '#468012',
    950: '#000000',
  },
}
SCSS
$custom: #468012;
$custom-light: #80a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#468012",
  "rgb": {
    "r": 70,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 91.636,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.14819,
    "h": 134.5
  },
  "luminance": 0.16784
}

Semantic roles & 50–950 ramp

primary
#468012
secondary
#7A38B6
accent
#36F299
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #468012

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

Preview Lab → · Contrast checker → · Palette generator →

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