#2F502E#2F502E

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

Color values

HEX#2F502E
RGBrgb(47, 80, 46)
HSLhsl(118, 27%, 25%)
HSVhsv(118, 43%, 31%)
CMYKcmyk(41.3%, 0%, 42.5%, 68.6%)
CIE-LABlab(30.73, -20.10, 16.34)
CIE-LCHlch(30.73, 25.90, 140.89°)
OKLaboklab(39.59% -0.0548 0.0405)
OKLCHoklch(39.59% 0.068 143.5)
XYZxyz(4.5339, 6.5387, 3.6074)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F502E #4F2E50
analogous
#40502E #2F502E #2E503E
triadic
#2F502E #2E2F50 #502E2F
tetradic
#2F502E #2E4050 #4F2E50 #503E2E
square
#2F502E #2E4050 #4F2E50 #503E2E
split-complementary
#2F502E #3E2E50 #502E40
monochromatic
#0B130B #182918 #2F502E #467744 #5D9E5B

Accessibility & contrast

On white

9.10
#2F502E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F502E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F502E#FFFFFF#000000##FFFFFF
##2F502E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2C
Deuteranopia (green-blind)
#4D4730
Tritanopia (blue-blind)
#2B4E47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f502e;
/* rgb */ color: rgb(47, 80, 46);
/* oklch */ color: oklch(39.6% 0.068 143.5);
Tailwind
colors: {
  custom: {
    50: '#698167',
    500: '#2f502e',
    950: '#000000',
  },
}
SCSS
$custom: #2f502e;
$custom-light: #698167;
$custom-dark: #000000;
JSON
{
  "hex": "#2f502e",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 46
  },
  "hsl": {
    "h": 118.235,
    "s": 26.984,
    "l": 24.706
  },
  "oklch": {
    "l": 0.39589,
    "c": 0.06813,
    "h": 143.5
  },
  "luminance": 0.06539
}

Semantic roles & 50–950 ramp

primary
#2F502E
secondary
#805881
accent
#64C3C1
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2F502E

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

Preview Lab → · Contrast checker → · Palette generator →

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