#468C12#468C12

#468C12 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.2% C 0.163 H 136.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#468C12
RGBrgb(70, 140, 18)
HSLhsl(94, 77%, 31%)
HSVhsv(94, 87%, 55%)
CMYKcmyk(50%, 0%, 87.1%, 45.1%)
CIE-LABlab(51.95, -41.97, 51.69)
CIE-LCHlch(51.95, 66.58, 129.08°)
OKLaboklab(57.19% -0.1172 0.113)
OKLCHoklch(57.19% 0.163 136)
XYZxyz(12.0127, 20.1011, 3.8191)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#468C12 #58128C
analogous
#838C12 #468C12 #128C1B
triadic
#468C12 #12468C #8C1246
tetradic
#468C12 #12838C #58128C #8C1B12
square
#468C12 #12838C #58128C #8C1B12
split-complementary
#468C12 #1B128C #8C1283
monochromatic
#102004 #2B560B #468C12 #61C219 #7FE534

Accessibility & contrast

On white

4.18
#468C12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#468C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #468C12
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##468C12#FFFFFF#000000##000000
##468C121.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#438677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #468c12;
/* rgb */ color: rgb(70, 140, 18);
/* oklch */ color: oklch(57.2% 0.163 136.0);
Tailwind
colors: {
  custom: {
    50: '#81ae5e',
    500: '#468c12',
    950: '#000000',
  },
}
SCSS
$custom: #468c12;
$custom-light: #81ae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#468c12",
  "rgb": {
    "r": 70,
    "g": 140,
    "b": 18
  },
  "hsl": {
    "h": 94.426,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57189,
    "c": 0.16285,
    "h": 136
  },
  "luminance": 0.20102
}

Semantic roles & 50–950 ramp

primary
#468C12
secondary
#8739C0
accent
#34F4A2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #468C12

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

Preview Lab → · Contrast checker → · Palette generator →

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