#2F6830#2F6830

#2F6830 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.4% C 0.106 H 144.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2F6830
RGBrgb(47, 104, 48)
HSLhsl(121, 38%, 30%)
HSVhsv(121, 55%, 41%)
CMYKcmyk(54.8%, 0%, 53.8%, 59.2%)
CIE-LABlab(39.10, -31.41, 25.78)
CIE-LCHlch(39.10, 40.64, 140.62°)
OKLaboklab(46.44% -0.0854 0.0621)
OKLCHoklch(46.44% 0.106 144)
XYZxyz(6.6558, 10.7178, 4.5138)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6830 #682F67
analogous
#4B682F #2F6830 #2F684D
triadic
#2F6830 #302F68 #68302F
tetradic
#2F6830 #2F4B68 #682F67 #684D2F
square
#2F6830 #2F4B68 #682F67 #684D2F
split-complementary
#2F6830 #4D2F68 #682F4B
monochromatic
#0A150A #1C3E1D #2F6830 #429243 #5CB55E

Accessibility & contrast

On white

6.68
#2F6830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2F6830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6830
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6830#FFFFFF#000000##FFFFFF
##2F68301.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2B
Deuteranopia (green-blind)
#625A34
Tritanopia (blue-blind)
#26655B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6830;
/* rgb */ color: rgb(47, 104, 48);
/* oklch */ color: oklch(46.4% 0.106 144.0);
Tailwind
colors: {
  custom: {
    50: '#6d946a',
    500: '#2f6830',
    950: '#000000',
  },
}
SCSS
$custom: #2f6830;
$custom-light: #6d946a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6830",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 121.053,
    "s": 37.748,
    "l": 29.608
  },
  "oklch": {
    "l": 0.46436,
    "c": 0.10559,
    "h": 144
  },
  "luminance": 0.10718
}

Semantic roles & 50–950 ramp

primary
#2F6830
secondary
#995998
accent
#5ACCCE
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #2F6830

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

Preview Lab → · Contrast checker → · Palette generator →

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