#2F642F#2F642F

#2F642F is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.3% C 0.100 H 143.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2F642F
RGBrgb(47, 100, 47)
HSLhsl(120, 36%, 29%)
HSVhsv(120, 53%, 39%)
CMYKcmyk(53%, 0%, 53%, 60.8%)
CIE-LABlab(37.70, -29.76, 24.62)
CIE-LCHlch(37.70, 38.62, 140.40°)
OKLaboklab(45.29% -0.0809 0.0595)
OKLCHoklch(45.29% 0.1 143.7)
XYZxyz(6.2422, 9.9234, 4.2753)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F642F #642F64
analogous
#4A642F #2F642F #2F644A
triadic
#2F642F #2F2F64 #642F2F
tetradic
#2F642F #2F4A64 #642F64 #644A2F
square
#2F642F #2F4A64 #642F64 #644A2F
split-complementary
#2F642F #4A2F64 #642F4A
monochromatic
#0A150A #1B3A1B #2F642F #438E43 #5BB25B

Accessibility & contrast

On white

7.04
#2F642F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2F642F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F642F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F642F#FFFFFF#000000##FFFFFF
##2F642F1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C2B
Deuteranopia (green-blind)
#5F5733
Tritanopia (blue-blind)
#286158
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f642f;
/* rgb */ color: rgb(47, 100, 47);
/* oklch */ color: oklch(45.3% 0.100 143.7);
Tailwind
colors: {
  custom: {
    50: '#6c9169',
    500: '#2f642f',
    950: '#000000',
  },
}
SCSS
$custom: #2f642f;
$custom-light: #6c9169;
$custom-dark: #000000;
JSON
{
  "hex": "#2f642f",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 36.054,
    "l": 28.824
  },
  "oklch": {
    "l": 0.45286,
    "c": 0.10042,
    "h": 143.7
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#2F642F
secondary
#965996
accent
#5CCCCC
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #2F642F

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

Preview Lab → · Contrast checker → · Palette generator →

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