#2F5334#2F5334

#2F5334 is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.6% C 0.066 H 147.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2F5334
RGBrgb(47, 83, 52)
HSLhsl(128, 28%, 25%)
HSVhsv(128, 43%, 33%)
CMYKcmyk(43.4%, 0%, 37.3%, 67.5%)
CIE-LABlab(31.89, -20.54, 14.21)
CIE-LCHlch(31.89, 24.98, 145.33°)
OKLaboklab(40.57% -0.056 0.0356)
OKLCHoklch(40.57% 0.066 147.5)
XYZxyz(4.8851, 7.0385, 4.3493)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5334 #532F4E
analogous
#3C532F #2F5334 #2F5346
triadic
#2F5334 #342F53 #53342F
tetradic
#2F5334 #2F3C53 #532F4E #53462F
square
#2F5334 #2F3C53 #532F4E #53462F
split-complementary
#2F5334 #462F53 #532F3C
monochromatic
#0B140C #192C1C #2F5334 #457A4C #5BA165

Accessibility & contrast

On white

8.72
#2F5334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2F5334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5334
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5334#FFFFFF#000000##FFFFFF
##2F53341.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D32
Deuteranopia (green-blind)
#4E4A36
Tritanopia (blue-blind)
#2A524B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f5334;
/* rgb */ color: rgb(47, 83, 52);
/* oklch */ color: oklch(40.6% 0.066 147.5);
Tailwind
colors: {
  custom: {
    50: '#69836b',
    500: '#2f5334',
    950: '#000000',
  },
}
SCSS
$custom: #2f5334;
$custom-light: #69836b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5334",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 52
  },
  "hsl": {
    "h": 128.333,
    "s": 27.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.40571,
    "c": 0.06635,
    "h": 147.5
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#2F5334
secondary
#84597E
accent
#64B7C4
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2F5334

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

Preview Lab → · Contrast checker → · Palette generator →

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