#2F5028#2F5028

#2F5028 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.5% C 0.075 H 140.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2F5028
RGBrgb(47, 80, 40)
HSLhsl(110, 33%, 24%)
HSVhsv(110, 50%, 31%)
CMYKcmyk(41.3%, 0%, 50%, 68.6%)
CIE-LABlab(30.63, -21.13, 19.80)
CIE-LCHlch(30.63, 28.95, 136.85°)
OKLaboklab(39.47% -0.0577 0.0482)
OKLCHoklch(39.47% 0.075 140.1)
XYZxyz(4.4238, 6.4946, 3.0276)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5028 #492850
analogous
#435028 #2F5028 #285035
triadic
#2F5028 #282F50 #50282F
tetradic
#2F5028 #284350 #492850 #503528
square
#2F5028 #284350 #492850 #503528
split-complementary
#2F5028 #352850 #502843
monochromatic
#0C140A #172714 #2F5028 #47793C #5FA251

Accessibility & contrast

On white

9.13
#2F5028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F5028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5028
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5028#FFFFFF#000000##FFFFFF
##2F50281.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#4D472B
Tritanopia (blue-blind)
#2D4E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f5028;
/* rgb */ color: rgb(47, 80, 40);
/* oklch */ color: oklch(39.5% 0.075 140.1);
Tailwind
colors: {
  custom: {
    50: '#698162',
    500: '#2f5028',
    950: '#000000',
  },
}
SCSS
$custom: #2f5028;
$custom-light: #698162;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5028",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 40
  },
  "hsl": {
    "h": 109.5,
    "s": 33.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.39469,
    "c": 0.07523,
    "h": 140.1
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#2F5028
secondary
#7A5183
accent
#5EC9B7
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2F5028

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

Preview Lab → · Contrast checker → · Palette generator →

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