#2F4B28#2F4B28

#2F4B28 is a dark, moderate green. Relative luminance 0.058; OKLCH L 38.0% C 0.066 H 139.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2F4B28
RGBrgb(47, 75, 40)
HSLhsl(108, 30%, 23%)
HSVhsv(108, 47%, 29%)
CMYKcmyk(37.3%, 0%, 46.7%, 70.6%)
CIE-LABlab(28.88, -18.48, 17.57)
CIE-LCHlch(28.88, 25.50, 136.44°)
OKLaboklab(38.05% -0.0505 0.0431)
OKLCHoklch(38.05% 0.066 139.5)
XYZxyz(4.0712, 5.7895, 2.9100)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B28 #44284B
analogous
#404B28 #2F4B28 #284B32
triadic
#2F4B28 #282F4B #4B282F
tetradic
#2F4B28 #28404B #44284B #4B3228
square
#2F4B28 #28404B #44284B #4B3228
split-complementary
#2F4B28 #32284B #4B2840
monochromatic
#0D140B #162313 #2F4B28 #48733D #619B53

Accessibility & contrast

On white

9.73
#2F4B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4B28
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B28#FFFFFF#000000##FFFFFF
##2F4B281.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4625
Deuteranopia (green-blind)
#49432A
Tritanopia (blue-blind)
#2D4942
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f4b28;
/* rgb */ color: rgb(47, 75, 40);
/* oklch */ color: oklch(38.0% 0.066 139.5);
Tailwind
colors: {
  custom: {
    50: '#697d62',
    500: '#2f4b28',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b28;
$custom-light: #697d62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b28",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 40
  },
  "hsl": {
    "h": 108,
    "s": 30.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.38045,
    "c": 0.06643,
    "h": 139.5
  },
  "luminance": 0.0579
}

Semantic roles & 50–950 ramp

primary
#2F4B28
secondary
#75517D
accent
#61C7B2
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060905
muted
#7A7B79

Preview Lab

Preview with #2F4B28

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

Preview Lab → · Contrast checker → · Palette generator →

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