#2F643F#2F643F

#2F643F is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.6% C 0.083 H 151.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#2F643F
RGBrgb(47, 100, 63)
HSLhsl(138, 36%, 29%)
HSVhsv(138, 53%, 39%)
CMYKcmyk(53%, 0%, 37%, 60.8%)
CIE-LABlab(37.98, -26.89, 15.72)
CIE-LCHlch(37.98, 31.15, 149.68°)
OKLaboklab(45.6% -0.0731 0.0395)
OKLCHoklch(45.6% 0.083 151.6)
XYZxyz(6.6262, 10.0770, 6.2975)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F643F #642F54
analogous
#3A642F #2F643F #2F645A
triadic
#2F643F #3F2F64 #643F2F
tetradic
#2F643F #2F3A64 #642F54 #645A2F
square
#2F643F #2F3A64 #642F54 #645A2F
split-complementary
#2F643F #5A2F64 #642F3A
monochromatic
#0A150D #1B3A25 #2F643F #438E59 #5BB276

Accessibility & contrast

On white

6.96
#2F643F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2F643F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F643F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F643F#FFFFFF#000000##FFFFFF
##2F643F1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D3D
Deuteranopia (green-blind)
#5D5741
Tritanopia (blue-blind)
#23635A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f643f;
/* rgb */ color: rgb(47, 100, 63);
/* oklch */ color: oklch(45.6% 0.083 151.6);
Tailwind
colors: {
  custom: {
    50: '#6c9074',
    500: '#2f643f',
    950: '#000000',
  },
}
SCSS
$custom: #2f643f;
$custom-light: #6c9074;
$custom-dark: #000000;
JSON
{
  "hex": "#2f643f",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 63
  },
  "hsl": {
    "h": 138.113,
    "s": 36.054,
    "l": 28.824
  },
  "oklch": {
    "l": 0.45601,
    "c": 0.0831,
    "h": 151.6
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#2F643F
secondary
#965983
accent
#5CAACC
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #2F643F

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

Preview Lab → · Contrast checker → · Palette generator →

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