#2F502F#2F502F

#2F502F is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.6% C 0.067 H 144.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#2F502F
RGBrgb(47, 80, 47)
HSLhsl(120, 26%, 25%)
HSVhsv(120, 41%, 31%)
CMYKcmyk(41.3%, 0%, 41.3%, 68.6%)
CIE-LABlab(30.75, -19.92, 15.75)
CIE-LCHlch(30.75, 25.39, 141.66°)
OKLaboklab(39.61% -0.0543 0.0392)
OKLCHoklch(39.61% 0.067 144.2)
XYZxyz(4.5538, 6.5466, 3.7125)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F502F #502F50
analogous
#40502F #2F502F #2F5040
triadic
#2F502F #2F2F50 #502F2F
tetradic
#2F502F #2F4050 #502F50 #50402F
square
#2F502F #2F4050 #502F50 #50402F
split-complementary
#2F502F #402F50 #502F40
monochromatic
#0B130B #182918 #2F502F #467746 #5C9D5C

Accessibility & contrast

On white

9.09
#2F502F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2F502F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F502F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F502F#FFFFFF#000000##FFFFFF
##2F502F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2D
Deuteranopia (green-blind)
#4C4731
Tritanopia (blue-blind)
#2B4E48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f502f;
/* rgb */ color: rgb(47, 80, 47);
/* oklch */ color: oklch(39.6% 0.067 144.2);
Tailwind
colors: {
  custom: {
    50: '#698168',
    500: '#2f502f',
    950: '#000000',
  },
}
SCSS
$custom: #2f502f;
$custom-light: #698168;
$custom-dark: #000000;
JSON
{
  "hex": "#2f502f",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 25.984,
    "l": 24.902
  },
  "oklch": {
    "l": 0.39611,
    "c": 0.06692,
    "h": 144.2
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#2F502F
secondary
#815A81
accent
#65C2C2
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2F502F

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

Preview Lab → · Contrast checker → · Palette generator →

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