#2F6323#2F6323

#2F6323 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.111 H 140.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2F6323
RGBrgb(47, 99, 35)
HSLhsl(109, 48%, 26%)
HSVhsv(109, 65%, 39%)
CMYKcmyk(52.5%, 0%, 64.6%, 61.2%)
CIE-LABlab(37.20, -30.94, 30.40)
CIE-LCHlch(37.20, 43.38, 135.50°)
OKLaboklab(44.83% -0.0848 0.0711)
OKLCHoklch(44.83% 0.111 140)
XYZxyz(5.9373, 9.6489, 3.1394)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6323 #572363
analogous
#4F6323 #2F6323 #236337
triadic
#2F6323 #232F63 #63232F
tetradic
#2F6323 #234F63 #572363 #633723
square
#2F6323 #234F63 #572363 #633723
split-complementary
#2F6323 #372363 #63234F
monochromatic
#0B1708 #1A3613 #2F6323 #449033 #5ABD44

Accessibility & contrast

On white

7.17
#2F6323 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2F6323 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6323
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6323#FFFFFF#000000##FFFFFF
##2F63231.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A1C
Deuteranopia (green-blind)
#5F5628
Tritanopia (blue-blind)
#2A6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f6323;
/* rgb */ color: rgb(47, 99, 35);
/* oklch */ color: oklch(44.8% 0.111 140.0);
Tailwind
colors: {
  custom: {
    50: '#6d9060',
    500: '#2f6323',
    950: '#000000',
  },
}
SCSS
$custom: #2f6323;
$custom-light: #6d9060;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6323",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 35
  },
  "hsl": {
    "h": 108.75,
    "s": 47.761,
    "l": 26.275
  },
  "oklch": {
    "l": 0.44826,
    "c": 0.11066,
    "h": 140
  },
  "luminance": 0.09649
}

Semantic roles & 50–950 ramp

primary
#2F6323
secondary
#884B97
accent
#50D7BE
background
#F6F8F5
surface
#ECF0EA
border
#C7CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #2F6323

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

Preview Lab → · Contrast checker → · Palette generator →

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