#2F6923#2F6923

#2F6923 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.5% C 0.119 H 140.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2F6923
RGBrgb(47, 105, 35)
HSLhsl(110, 50%, 27%)
HSVhsv(110, 67%, 41%)
CMYKcmyk(55.2%, 0%, 66.7%, 58.8%)
CIE-LABlab(39.29, -33.57, 32.75)
CIE-LCHlch(39.29, 46.89, 135.71°)
OKLaboklab(46.54% -0.0919 0.0761)
OKLCHoklch(46.54% 0.119 140.4)
XYZxyz(6.5270, 10.8283, 3.3359)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6923 #5D2369
analogous
#526923 #2F6923 #23693A
triadic
#2F6923 #232F69 #69232F
tetradic
#2F6923 #235269 #5D2369 #693A23
square
#2F6923 #235269 #5D2369 #693A23
split-complementary
#2F6923 #3A2369 #692352
monochromatic
#0A1708 #1A3B14 #2F6923 #449732 #5BC145

Accessibility & contrast

On white

6.63
#2F6923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2F6923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6923
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6923#FFFFFF#000000##FFFFFF
##2F69231.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601B
Deuteranopia (green-blind)
#645B29
Tritanopia (blue-blind)
#29665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f6923;
/* rgb */ color: rgb(47, 105, 35);
/* oklch */ color: oklch(46.5% 0.119 140.4);
Tailwind
colors: {
  custom: {
    50: '#6e9461',
    500: '#2f6923',
    950: '#000000',
  },
}
SCSS
$custom: #2f6923;
$custom-light: #6e9461;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6923",
  "rgb": {
    "r": 47,
    "g": 105,
    "b": 35
  },
  "hsl": {
    "h": 109.714,
    "s": 50,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4654,
    "c": 0.11932,
    "h": 140.4
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

primary
#2F6923
secondary
#8F4B9C
accent
#4EDAC2
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2F6923

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

Preview Lab → · Contrast checker → · Palette generator →

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