#2F5331#2F5331

#2F5331 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.5% C 0.070 H 145.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2F5331
RGBrgb(47, 83, 49)
HSLhsl(123, 28%, 25%)
HSVhsv(123, 43%, 33%)
CMYKcmyk(43.4%, 0%, 41%, 67.5%)
CIE-LABlab(31.83, -21.12, 15.96)
CIE-LCHlch(31.83, 26.47, 142.92°)
OKLaboklab(40.5% -0.0575 0.0397)
OKLCHoklch(40.5% 0.07 145.4)
XYZxyz(4.8197, 7.0123, 4.0047)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5331 #532F51
analogous
#3F532F #2F5331 #2F5343
triadic
#2F5331 #312F53 #53312F
tetradic
#2F5331 #2F3F53 #532F51 #53432F
square
#2F5331 #2F3F53 #532F51 #53432F
split-complementary
#2F5331 #432F53 #532F3F
monochromatic
#0B140C #192C1A #2F5331 #457A48 #5BA15F

Accessibility & contrast

On white

8.74
#2F5331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F5331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5331
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5331#FFFFFF#000000##FFFFFF
##2F53311.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#4F4A33
Tritanopia (blue-blind)
#2A514A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f5331;
/* rgb */ color: rgb(47, 83, 49);
/* oklch */ color: oklch(40.5% 0.070 145.4);
Tailwind
colors: {
  custom: {
    50: '#698369',
    500: '#2f5331',
    950: '#000000',
  },
}
SCSS
$custom: #2f5331;
$custom-light: #698369;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5331",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 123.333,
    "s": 27.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.40504,
    "c": 0.06989,
    "h": 145.4
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#2F5331
secondary
#845982
accent
#64BFC4
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2F5331

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

Preview Lab → · Contrast checker → · Palette generator →

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