#468F12#468F12

#468F12 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.0% C 0.166 H 136.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#468F12
RGBrgb(70, 143, 18)
HSLhsl(95, 78%, 32%)
HSVhsv(95, 87%, 56%)
CMYKcmyk(51%, 0%, 87.4%, 43.9%)
CIE-LABlab(52.94, -43.17, 52.56)
CIE-LCHlch(52.94, 68.01, 129.40°)
OKLaboklab(58% -0.1204 0.1149)
OKLCHoklch(58% 0.166 136.4)
XYZxyz(12.4571, 20.9898, 3.9672)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#468F12 #5B128F
analogous
#858F12 #468F12 #128F1D
triadic
#468F12 #12468F #8F1246
tetradic
#468F12 #12858F #5B128F #8F1D12
square
#468F12 #12858F #5B128F #8F1D12
split-complementary
#468F12 #1D128F #8F1285
monochromatic
#112204 #2B590B #468F12 #61C519 #7FE636

Accessibility & contrast

On white

4.04
#468F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#468F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #468F12
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##468F12#FFFFFF#000000##000000
##468F121.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#428979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #468f12;
/* rgb */ color: rgb(70, 143, 18);
/* oklch */ color: oklch(58.0% 0.166 136.4);
Tailwind
colors: {
  custom: {
    50: '#82b05f',
    500: '#468f12',
    950: '#000000',
  },
}
SCSS
$custom: #468f12;
$custom-light: #82b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#468f12",
  "rgb": {
    "r": 70,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 95.04,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58001,
    "c": 0.16644,
    "h": 136.4
  },
  "luminance": 0.20991
}

Semantic roles & 50–950 ramp

primary
#468F12
secondary
#8A3AC3
accent
#34F4A4
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #468F12

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

Preview Lab → · Contrast checker → · Palette generator →

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