#2F6925#2F6925

#2F6925 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.6% C 0.118 H 140.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2F6925
RGBrgb(47, 105, 37)
HSLhsl(111, 48%, 28%)
HSVhsv(111, 65%, 41%)
CMYKcmyk(55.2%, 0%, 64.8%, 58.8%)
CIE-LABlab(39.31, -33.34, 31.79)
CIE-LCHlch(39.31, 46.07, 136.36°)
OKLaboklab(46.56% -0.0912 0.0743)
OKLCHoklch(46.56% 0.118 140.8)
XYZxyz(6.5575, 10.8405, 3.4968)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6925 #5F2569
analogous
#516925 #2F6925 #25693D
triadic
#2F6925 #252F69 #69252F
tetradic
#2F6925 #255169 #5F2569 #693D25
square
#2F6925 #255169 #5F2569 #693D25
split-complementary
#2F6925 #3D2569 #692551
monochromatic
#0A1708 #1B3C15 #2F6925 #439635 #5BBF49

Accessibility & contrast

On white

6.63
#2F6925 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2F6925 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6925
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6925#FFFFFF#000000##FFFFFF
##2F69251.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601D
Deuteranopia (green-blind)
#645B2B
Tritanopia (blue-blind)
#28665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f6925;
/* rgb */ color: rgb(47, 105, 37);
/* oklch */ color: oklch(46.6% 0.118 140.8);
Tailwind
colors: {
  custom: {
    50: '#6e9462',
    500: '#2f6925',
    950: '#000000',
  },
}
SCSS
$custom: #2f6925;
$custom-light: #6e9462;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6925",
  "rgb": {
    "r": 47,
    "g": 105,
    "b": 37
  },
  "hsl": {
    "h": 111.176,
    "s": 47.887,
    "l": 27.843
  },
  "oklch": {
    "l": 0.46564,
    "c": 0.11759,
    "h": 140.8
  },
  "luminance": 0.10841
}

Semantic roles & 50–950 ramp

primary
#2F6925
secondary
#914E9C
accent
#50D7C4
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2F6925

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

Preview Lab → · Contrast checker → · Palette generator →

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