#2F6825#2F6825

#2F6825 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.3% C 0.116 H 140.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2F6825
RGBrgb(47, 104, 37)
HSLhsl(111, 48%, 28%)
HSVhsv(111, 64%, 41%)
CMYKcmyk(54.8%, 0%, 64.4%, 59.2%)
CIE-LABlab(38.96, -32.90, 31.40)
CIE-LCHlch(38.96, 45.48, 136.34°)
OKLaboklab(46.28% -0.09 0.0734)
OKLCHoklch(46.28% 0.116 140.8)
XYZxyz(6.4562, 10.6380, 3.4630)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6825 #5E2568
analogous
#506825 #2F6825 #25683D
triadic
#2F6825 #252F68 #68252F
tetradic
#2F6825 #255068 #5E2568 #683D25
square
#2F6825 #255068 #5E2568 #683D25
split-complementary
#2F6825 #3D2568 #682550
monochromatic
#0A1708 #1B3B15 #2F6825 #439535 #5BBE49

Accessibility & contrast

On white

6.71
#2F6825 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2F6825 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6825
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6825#FFFFFF#000000##FFFFFF
##2F68251.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1E
Deuteranopia (green-blind)
#635A2A
Tritanopia (blue-blind)
#29655A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6825;
/* rgb */ color: rgb(47, 104, 37);
/* oklch */ color: oklch(46.3% 0.116 140.8);
Tailwind
colors: {
  custom: {
    50: '#6d9462',
    500: '#2f6825',
    950: '#000000',
  },
}
SCSS
$custom: #2f6825;
$custom-light: #6d9462;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6825",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 37
  },
  "hsl": {
    "h": 111.045,
    "s": 47.518,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46279,
    "c": 0.11616,
    "h": 140.8
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#2F6825
secondary
#904E9B
accent
#51D7C3
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2F6825

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

Preview Lab → · Contrast checker → · Palette generator →

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