#2F7225#2F7225

#2F7225 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.130 H 141.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2F7225
RGBrgb(47, 114, 37)
HSLhsl(112, 51%, 30%)
HSVhsv(112, 68%, 45%)
CMYKcmyk(58.8%, 0%, 67.5%, 55.3%)
CIE-LABlab(42.42, -37.12, 35.25)
CIE-LCHlch(42.42, 51.19, 136.48°)
OKLaboklab(49.12% -0.1014 0.0816)
OKLCHoklch(49.12% 0.13 141.2)
XYZxyz(7.5232, 12.7719, 3.8187)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7225 #682572
analogous
#567225 #2F7225 #257242
triadic
#2F7225 #252F72 #72252F
tetradic
#2F7225 #255672 #682572 #724225
square
#2F7225 #255672 #682572 #724225
split-complementary
#2F7225 #422572 #722556
monochromatic
#0A1707 #1C4416 #2F7225 #42A034 #5CC54C

Accessibility & contrast

On white

5.91
#2F7225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2F7225 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7225
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7225#FFFFFF#000000##FFFFFF
##2F72251.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75681B
Deuteranopia (green-blind)
#6C622C
Tritanopia (blue-blind)
#266E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f7225;
/* rgb */ color: rgb(47, 114, 37);
/* oklch */ color: oklch(49.1% 0.130 141.2);
Tailwind
colors: {
  custom: {
    50: '#6f9b63',
    500: '#2f7225',
    950: '#000000',
  },
}
SCSS
$custom: #2f7225;
$custom-light: #6f9b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7225",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 37
  },
  "hsl": {
    "h": 112.208,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49122,
    "c": 0.13021,
    "h": 141.2
  },
  "luminance": 0.12773
}

Semantic roles & 50–950 ramp

primary
#2F7225
secondary
#994EA5
accent
#4DDAC8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2F7225

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

Preview Lab → · Contrast checker → · Palette generator →

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