#2F7233#2F7233

#2F7233 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.3% C 0.118 H 144.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2F7233
RGBrgb(47, 114, 51)
HSLhsl(124, 42%, 32%)
HSVhsv(124, 59%, 45%)
CMYKcmyk(58.8%, 0%, 55.3%, 55.3%)
CIE-LABlab(42.58, -35.33, 28.40)
CIE-LCHlch(42.58, 45.33, 141.21°)
OKLaboklab(49.31% -0.0959 0.0681)
OKLCHoklch(49.31% 0.118 144.6)
XYZxyz(7.7867, 12.8773, 5.2066)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7233 #722F6E
analogous
#4D722F #2F7233 #2F7255
triadic
#2F7233 #332F72 #72332F
tetradic
#2F7233 #2F4D72 #722F6E #72552F
square
#2F7233 #2F4D72 #722F6E #72552F
split-complementary
#2F7233 #552F72 #722F4D
monochromatic
#0B1B0C #1D4720 #2F7233 #419D46 #5FBD64

Accessibility & contrast

On white

5.87
#2F7233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2F7233 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7233
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7233#FFFFFF#000000##FFFFFF
##2F72331.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682D
Deuteranopia (green-blind)
#6B6238
Tritanopia (blue-blind)
#236F64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f7233;
/* rgb */ color: rgb(47, 114, 51);
/* oklch */ color: oklch(49.3% 0.118 144.6);
Tailwind
colors: {
  custom: {
    50: '#6e9b6c',
    500: '#2f7233',
    950: '#000000',
  },
}
SCSS
$custom: #2f7233;
$custom-light: #6e9b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7233",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 51
  },
  "hsl": {
    "h": 123.582,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.49306,
    "c": 0.11761,
    "h": 144.6
  },
  "luminance": 0.12878
}

Semantic roles & 50–950 ramp

primary
#2F7233
secondary
#A35A9F
accent
#56CAD1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #2F7233

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

Preview Lab → · Contrast checker → · Palette generator →

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