#2F6618#2F6618

#2F6618 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.124 H 138.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2F6618
RGBrgb(47, 102, 24)
HSLhsl(102, 62%, 25%)
HSVhsv(102, 76%, 40%)
CMYKcmyk(53.9%, 0%, 76.5%, 60%)
CIE-LABlab(38.15, -33.35, 36.47)
CIE-LCHlch(38.15, 49.42, 132.44°)
OKLaboklab(45.57% -0.0921 0.0824)
OKLCHoklch(45.57% 0.124 138.2)
XYZxyz(6.0883, 10.1726, 2.5067)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6618 #4F1866
analogous
#566618 #2F6618 #186628
triadic
#2F6618 #182F66 #66182F
tetradic
#2F6618 #185666 #4F1866 #662818
square
#2F6618 #185666 #4F1866 #662818
split-complementary
#2F6618 #281866 #661856
monochromatic
#0B1906 #18340C #2F6618 #469824 #5DC92F

Accessibility & contrast

On white

6.92
#2F6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2F6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6618
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6618#FFFFFF#000000##FFFFFF
##2F66181.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D0A
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#2B6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f6618;
/* rgb */ color: rgb(47, 102, 24);
/* oklch */ color: oklch(45.6% 0.124 138.2);
Tailwind
colors: {
  custom: {
    50: '#6e925a',
    500: '#2f6618',
    950: '#000000',
  },
}
SCSS
$custom: #2f6618;
$custom-light: #6e925a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6618",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 102.308,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.12361,
    "h": 138.2
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#2F6618
secondary
#803E9C
accent
#43E5B5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6618

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

Preview Lab → · Contrast checker → · Palette generator →

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