#2F6629#2F6629

#2F6629 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.8% C 0.110 H 141.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2F6629
RGBrgb(47, 102, 41)
HSLhsl(114, 43%, 28%)
HSVhsv(114, 60%, 40%)
CMYKcmyk(53.9%, 0%, 59.8%, 60%)
CIE-LABlab(38.32, -31.52, 28.60)
CIE-LCHlch(38.32, 42.56, 137.78°)
OKLaboklab(45.76% -0.086 0.0678)
OKLCHoklch(45.76% 0.11 141.8)
XYZxyz(6.3236, 10.2667, 3.7458)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6629 #602966
analogous
#4D6629 #2F6629 #296641
triadic
#2F6629 #292F66 #66292F
tetradic
#2F6629 #294D66 #602966 #664129
square
#2F6629 #294D66 #602966 #664129
split-complementary
#2F6629 #412966 #66294D
monochromatic
#0A1609 #1B3A17 #2F6629 #43923B #5BB951

Accessibility & contrast

On white

6.88
#2F6629 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2F6629 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6629
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6629#FFFFFF#000000##FFFFFF
##2F66291.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D23
Deuteranopia (green-blind)
#61582E
Tritanopia (blue-blind)
#286358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f6629;
/* rgb */ color: rgb(47, 102, 41);
/* oklch */ color: oklch(45.8% 0.110 141.8);
Tailwind
colors: {
  custom: {
    50: '#6d9265',
    500: '#2f6629',
    950: '#000000',
  },
}
SCSS
$custom: #2f6629;
$custom-light: #6d9265;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6629",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 41
  },
  "hsl": {
    "h": 114.098,
    "s": 42.657,
    "l": 28.039
  },
  "oklch": {
    "l": 0.45762,
    "c": 0.10951,
    "h": 141.8
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

primary
#2F6629
secondary
#925298
accent
#55D2C6
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #2F6629

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

Preview Lab → · Contrast checker → · Palette generator →

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