#468C1F#468C1F

#468C1F is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.3% C 0.157 H 137.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#468C1F
RGBrgb(70, 140, 31)
HSLhsl(99, 64%, 34%)
HSVhsv(99, 78%, 55%)
CMYKcmyk(50%, 0%, 77.9%, 45.1%)
CIE-LABlab(52.01, -41.28, 47.88)
CIE-LCHlch(52.01, 63.22, 130.77°)
OKLaboklab(57.26% -0.1146 0.107)
OKLCHoklch(57.26% 0.157 137)
XYZxyz(12.1508, 20.1563, 4.5463)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#468C1F #651F8C
analogous
#7C8C1F #468C1F #1F8C2E
triadic
#468C1F #1F468C #8C1F46
tetradic
#468C1F #1F7C8C #651F8C #8C2E1F
square
#468C1F #1F7C8C #651F8C #8C2E1F
split-complementary
#468C1F #2E1F8C #8C1F7C
monochromatic
#142809 #2D5A14 #468C1F #5FBE2A #7FD84E

Accessibility & contrast

On white

4.17
#468C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#468C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #468C1F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##468C1F#FFFFFF#000000##000000
##468C1F1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#428777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #468c1f;
/* rgb */ color: rgb(70, 140, 31);
/* oklch */ color: oklch(57.3% 0.157 137.0);
Tailwind
colors: {
  custom: {
    50: '#81ae63',
    500: '#468c1f',
    950: '#000000',
  },
}
SCSS
$custom: #468c1f;
$custom-light: #81ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#468c1f",
  "rgb": {
    "r": 70,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 98.532,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5726,
    "c": 0.15681,
    "h": 137
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#468C1F
secondary
#934CBB
accent
#41E7AB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #468C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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