#2F6521#2F6521

#2F6521 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.4% C 0.115 H 139.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2F6521
RGBrgb(47, 101, 33)
HSLhsl(108, 51%, 26%)
HSVhsv(108, 67%, 40%)
CMYKcmyk(53.5%, 0%, 67.3%, 60.4%)
CIE-LABlab(37.88, -32.05, 32.15)
CIE-LCHlch(37.88, 45.40, 134.92°)
OKLaboklab(45.37% -0.088 0.0746)
OKLCHoklch(45.37% 0.115 139.7)
XYZxyz(6.1002, 10.0211, 3.0514)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6521 #572165
analogous
#516521 #2F6521 #216535
triadic
#2F6521 #212F65 #65212F
tetradic
#2F6521 #215165 #572165 #653521
square
#2F6521 #215165 #572165 #653521
split-complementary
#2F6521 #352165 #652151
monochromatic
#0B1708 #1A3712 #2F6521 #449330 #5AC140

Accessibility & contrast

On white

6.99
#2F6521 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2F6521 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6521
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6521#FFFFFF#000000##FFFFFF
##2F65211.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C19
Deuteranopia (green-blind)
#615727
Tritanopia (blue-blind)
#2A6257
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f6521;
/* rgb */ color: rgb(47, 101, 33);
/* oklch */ color: oklch(45.4% 0.115 139.7);
Tailwind
colors: {
  custom: {
    50: '#6d915f',
    500: '#2f6521',
    950: '#000000',
  },
}
SCSS
$custom: #2f6521;
$custom-light: #6d915f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6521",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 33
  },
  "hsl": {
    "h": 107.647,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.45374,
    "c": 0.11532,
    "h": 139.7
  },
  "luminance": 0.10022
}

Semantic roles & 50–950 ramp

primary
#2F6521
secondary
#884999
accent
#4EDABD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2F6521

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

Preview Lab → · Contrast checker → · Palette generator →

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