#2F6418#2F6418

#2F6418 is a dark, vivid green. Relative luminance 0.098; OKLCH L 45.0% C 0.121 H 138.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2F6418
RGBrgb(47, 100, 24)
HSLhsl(102, 61%, 24%)
HSVhsv(102, 76%, 39%)
CMYKcmyk(53%, 0%, 76%, 60.8%)
CIE-LABlab(37.45, -32.49, 35.76)
CIE-LCHlch(37.45, 48.31, 132.26°)
OKLaboklab(45% -0.0898 0.0809)
OKLCHoklch(45% 0.121 138)
XYZxyz(5.8941, 9.7842, 2.4419)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6418 #4D1864
analogous
#556418 #2F6418 #186427
triadic
#2F6418 #182F64 #64182F
tetradic
#2F6418 #185564 #4D1864 #642718
square
#2F6418 #185564 #4D1864 #642718
split-complementary
#2F6418 #271864 #641855
monochromatic
#0C1906 #18330C #2F6418 #469524 #5DC730

Accessibility & contrast

On white

7.10
#2F6418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2F6418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6418
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6418#FFFFFF#000000##FFFFFF
##2F64181.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B0B
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#2B6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f6418;
/* rgb */ color: rgb(47, 100, 24);
/* oklch */ color: oklch(45.0% 0.121 138.0);
Tailwind
colors: {
  custom: {
    50: '#6d915a',
    500: '#2f6418',
    950: '#000000',
  },
}
SCSS
$custom: #2f6418;
$custom-light: #6d915a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6418",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 101.842,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44997,
    "c": 0.12089,
    "h": 138
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

primary
#2F6418
secondary
#7E3E9A
accent
#43E4B4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070D04
muted
#7A7D79

Preview Lab

Preview with #2F6418

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

Preview Lab → · Contrast checker → · Palette generator →

#2F6418 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva