#2F6820#2F6820

#2F6820 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.120 H 139.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2F6820
RGBrgb(47, 104, 32)
HSLhsl(108, 53%, 27%)
HSVhsv(108, 69%, 41%)
CMYKcmyk(54.8%, 0%, 69.2%, 59.2%)
CIE-LABlab(38.91, -33.46, 33.76)
CIE-LCHlch(38.91, 47.53, 134.75°)
OKLaboklab(46.22% -0.0918 0.0779)
OKLCHoklch(46.22% 0.12 139.7)
XYZxyz(6.3831, 10.6088, 3.0776)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6820 #592068
analogous
#536820 #2F6820 #206835
triadic
#2F6820 #202F68 #68202F
tetradic
#2F6820 #205368 #592068 #683520
square
#2F6820 #205368 #592068 #683520
split-complementary
#2F6820 #352068 #682053
monochromatic
#0B1707 #1A3912 #2F6820 #44972E #5AC43F

Accessibility & contrast

On white

6.73
#2F6820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2F6820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6820
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6820#FFFFFF#000000##FFFFFF
##2F68201.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F17
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#296459
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6820;
/* rgb */ color: rgb(47, 104, 32);
/* oklch */ color: oklch(46.2% 0.120 139.7);
Tailwind
colors: {
  custom: {
    50: '#6e945f',
    500: '#2f6820',
    950: '#000000',
  },
}
SCSS
$custom: #2f6820;
$custom-light: #6e945f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6820",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 107.5,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46221,
    "c": 0.1204,
    "h": 139.7
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#2F6820
secondary
#8B489C
accent
#4BDCBE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2F6820

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

Preview Lab → · Contrast checker → · Palette generator →

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