#2F4B2C#2F4B2C

#2F4B2C is a dark, moderate green. Relative luminance 0.058; OKLCH L 38.1% C 0.062 H 142.0°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2F4B2C
RGBrgb(47, 75, 44)
HSLhsl(114, 26%, 23%)
HSVhsv(114, 41%, 29%)
CMYKcmyk(37.3%, 0%, 41.3%, 70.6%)
CIE-LABlab(28.95, -17.78, 15.22)
CIE-LCHlch(28.95, 23.41, 139.43°)
OKLaboklab(38.13% -0.0485 0.0378)
OKLCHoklch(38.13% 0.062 142)
XYZxyz(4.1428, 5.8181, 3.2871)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B2C #482C4B
analogous
#3E4B2C #2F4B2C #2C4B38
triadic
#2F4B2C #2C2F4B #4B2C2F
tetradic
#2F4B2C #2C3E4B #482C4B #4B382C
square
#2F4B2C #2C3E4B #482C4B #4B382C
split-complementary
#2F4B2C #382C4B #4B2C3E
monochromatic
#0C130B #172415 #2F4B2C #477243 #5F9859

Accessibility & contrast

On white

9.71
#2F4B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2F4B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B2C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B2C#FFFFFF#000000##FFFFFF
##2F4B2C1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C462A
Deuteranopia (green-blind)
#48432E
Tritanopia (blue-blind)
#2D4943
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f4b2c;
/* rgb */ color: rgb(47, 75, 44);
/* oklch */ color: oklch(38.1% 0.062 142.0);
Tailwind
colors: {
  custom: {
    50: '#697d65',
    500: '#2f4b2c',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b2c;
$custom-light: #697d65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b2c",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 44
  },
  "hsl": {
    "h": 114.194,
    "s": 26.05,
    "l": 23.333
  },
  "oklch": {
    "l": 0.38129,
    "c": 0.06151,
    "h": 142
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#2F4B2C
secondary
#79567D
accent
#65C2B9
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060905
muted
#7A7B7A

Preview Lab

Preview with #2F4B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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