#2F651B#2F651B

#2F651B is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.3% C 0.120 H 138.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2F651B
RGBrgb(47, 101, 27)
HSLhsl(104, 58%, 25%)
HSVhsv(104, 73%, 40%)
CMYKcmyk(53.5%, 0%, 73.3%, 60.4%)
CIE-LABlab(37.83, -32.66, 34.86)
CIE-LCHlch(37.83, 47.77, 133.13°)
OKLaboklab(45.31% -0.09 0.0795)
OKLCHoklch(45.31% 0.12 138.6)
XYZxyz(6.0236, 9.9904, 2.6476)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F651B #511B65
analogous
#54651B #2F651B #1B652C
triadic
#2F651B #1B2F65 #651B2F
tetradic
#2F651B #1B5465 #511B65 #652C1B
square
#2F651B #1B5465 #511B65 #652C1B
split-complementary
#2F651B #2C1B65 #651B54
monochromatic
#0B1806 #19350E #2F651B #459528 #5CC635

Accessibility & contrast

On white

7.00
#2F651B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F651B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F651B#FFFFFF#000000##FFFFFF
##2F651B1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C10
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#2B6156
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f651b;
/* rgb */ color: rgb(47, 101, 27);
/* oklch */ color: oklch(45.3% 0.120 138.6);
Tailwind
colors: {
  custom: {
    50: '#6d915c',
    500: '#2f651b',
    950: '#000000',
  },
}
SCSS
$custom: #2f651b;
$custom-light: #6d915c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f651b",
  "rgb": {
    "r": 47,
    "g": 101,
    "b": 27
  },
  "hsl": {
    "h": 103.784,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45311,
    "c": 0.12011,
    "h": 138.6
  },
  "luminance": 0.09991
}

Semantic roles & 50–950 ramp

primary
#2F651B
secondary
#82419A
accent
#47E1B7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #2F651B

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

Preview Lab → · Contrast checker → · Palette generator →

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