#2F6617#2F6617

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

Color values

HEX#2F6617
RGBrgb(47, 102, 23)
HSLhsl(102, 63%, 25%)
HSVhsv(102, 77%, 40%)
CMYKcmyk(53.9%, 0%, 77.5%, 60%)
CIE-LABlab(38.14, -33.43, 36.86)
CIE-LCHlch(38.14, 49.76, 132.20°)
OKLaboklab(45.56% -0.0924 0.0831)
OKLCHoklch(45.56% 0.124 138)
XYZxyz(6.0781, 10.1685, 2.4529)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6617 #4E1766
analogous
#576617 #2F6617 #176627
triadic
#2F6617 #172F66 #66172F
tetradic
#2F6617 #175766 #4E1766 #662717
square
#2F6617 #175766 #4E1766 #662717
split-complementary
#2F6617 #271766 #661757
monochromatic
#0C1906 #18340C #2F6617 #469822 #5DCA2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6617#FFFFFF#000000##FFFFFF
##2F66171.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)
#695D08
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#2B6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f6617;
/* rgb */ color: rgb(47, 102, 23);
/* oklch */ color: oklch(45.6% 0.124 138.0);
Tailwind
colors: {
  custom: {
    50: '#6e925a',
    500: '#2f6617',
    950: '#000000',
  },
}
SCSS
$custom: #2f6617;
$custom-light: #6e925a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6617",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 101.772,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45563,
    "c": 0.12427,
    "h": 138
  },
  "luminance": 0.10169
}

Semantic roles & 50–950 ramp

primary
#2F6617
secondary
#7F3C9C
accent
#42E6B4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6617

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

Preview Lab → · Contrast checker → · Palette generator →

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