#2F4E23#2F4E23

#2F4E23 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.078 H 137.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2F4E23
RGBrgb(47, 78, 35)
HSLhsl(103, 38%, 22%)
HSVhsv(103, 55%, 31%)
CMYKcmyk(39.7%, 0%, 55.1%, 69.4%)
CIE-LABlab(29.85, -20.85, 21.75)
CIE-LCHlch(29.85, 30.13, 133.79°)
OKLaboklab(38.81% -0.0573 0.0523)
OKLCHoklch(38.81% 0.078 137.6)
XYZxyz(4.1999, 6.1743, 2.5602)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E23 #42234E
analogous
#454E23 #2F4E23 #234E2D
triadic
#2F4E23 #232F4E #4E232F
tetradic
#2F4E23 #23454E #42234E #4E2D23
square
#2F4E23 #23454E #42234E #4E2D23
split-complementary
#2F4E23 #2D234E #4E2345
monochromatic
#0D1509 #162410 #2F4E23 #487836 #62A249

Accessibility & contrast

On white

9.40
#2F4E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2F4E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E23
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E23#FFFFFF#000000##FFFFFF
##2F4E231.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50481F
Deuteranopia (green-blind)
#4C4526
Tritanopia (blue-blind)
#2E4B44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e23;
/* rgb */ color: rgb(47, 78, 35);
/* oklch */ color: oklch(38.8% 0.078 137.6);
Tailwind
colors: {
  custom: {
    50: '#69805f',
    500: '#2f4e23',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e23;
$custom-light: #69805f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e23",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 35
  },
  "hsl": {
    "h": 103.256,
    "s": 38.053,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3881,
    "c": 0.07754,
    "h": 137.6
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#2F4E23
secondary
#724B82
accent
#5ACEAE
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2F4E23

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

Preview Lab → · Contrast checker → · Palette generator →

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