#468E12#468E12

#468E12 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.7% C 0.165 H 136.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#468E12
RGBrgb(70, 142, 18)
HSLhsl(95, 78%, 31%)
HSVhsv(95, 87%, 56%)
CMYKcmyk(50.7%, 0%, 87.3%, 44.3%)
CIE-LABlab(52.61, -42.77, 52.27)
CIE-LCHlch(52.61, 67.54, 129.30°)
OKLaboklab(57.73% -0.1194 0.1143)
OKLCHoklch(57.73% 0.165 136.2)
XYZxyz(12.3076, 20.6909, 3.9174)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#468E12 #5A128E
analogous
#848E12 #468E12 #128E1C
triadic
#468E12 #12468E #8E1246
tetradic
#468E12 #12848E #5A128E #8E1C12
square
#468E12 #12848E #5A128E #8E1C12
split-complementary
#468E12 #1C128E #8E1284
monochromatic
#102104 #2B580B #468E12 #61C419 #7FE535

Accessibility & contrast

On white

4.09
#468E12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#468E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #468E12
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##468E12#FFFFFF#000000##000000
##468E121.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#428878
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #468e12;
/* rgb */ color: rgb(70, 142, 18);
/* oklch */ color: oklch(57.7% 0.165 136.2);
Tailwind
colors: {
  custom: {
    50: '#81b05e',
    500: '#468e12',
    950: '#000000',
  },
}
SCSS
$custom: #468e12;
$custom-light: #81b05e;
$custom-dark: #000000;
JSON
{
  "hex": "#468e12",
  "rgb": {
    "r": 70,
    "g": 142,
    "b": 18
  },
  "hsl": {
    "h": 94.839,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.16524,
    "h": 136.2
  },
  "luminance": 0.20692
}

Semantic roles & 50–950 ramp

primary
#468E12
secondary
#893AC2
accent
#34F4A3
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #468E12

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

Preview Lab → · Contrast checker → · Palette generator →

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