#2F6331#2F6331

#2F6331 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.097 H 144.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2F6331
RGBrgb(47, 99, 49)
HSLhsl(122, 36%, 29%)
HSVhsv(122, 53%, 39%)
CMYKcmyk(52.5%, 0%, 50.5%, 61.2%)
CIE-LABlab(37.39, -28.98, 23.10)
CIE-LCHlch(37.39, 37.06, 141.44°)
OKLaboklab(45.04% -0.0787 0.0562)
OKLCHoklch(45.04% 0.097 144.5)
XYZxyz(6.1882, 9.7493, 4.4609)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6331 #632F61
analogous
#47632F #2F6331 #2F634B
triadic
#2F6331 #312F63 #63312F
tetradic
#2F6331 #2F4763 #632F61 #634B2F
square
#2F6331 #2F4763 #632F61 #634B2F
split-complementary
#2F6331 #4B2F63 #632F47
monochromatic
#0A150A #1B391C #2F6331 #438C46 #5BB15E

Accessibility & contrast

On white

7.12
#2F6331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2F6331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6331
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6331#FFFFFF#000000##FFFFFF
##2F63311.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2D
Deuteranopia (green-blind)
#5E5634
Tritanopia (blue-blind)
#276157
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f6331;
/* rgb */ color: rgb(47, 99, 49);
/* oklch */ color: oklch(45.0% 0.097 144.5);
Tailwind
colors: {
  custom: {
    50: '#6c906a',
    500: '#2f6331',
    950: '#000000',
  },
}
SCSS
$custom: #2f6331;
$custom-light: #6c906a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6331",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 49
  },
  "hsl": {
    "h": 122.308,
    "s": 35.616,
    "l": 28.627
  },
  "oklch": {
    "l": 0.45037,
    "c": 0.09673,
    "h": 144.5
  },
  "luminance": 0.0975
}

Semantic roles & 50–950 ramp

primary
#2F6331
secondary
#955992
accent
#5CC7CC
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2F6331

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

Preview Lab → · Contrast checker → · Palette generator →

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