#2F6115#2F6115

#2F6115 is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.1% C 0.119 H 137.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2F6115
RGBrgb(47, 97, 21)
HSLhsl(99, 64%, 23%)
HSVhsv(99, 78%, 38%)
CMYKcmyk(51.5%, 0%, 78.4%, 62%)
CIE-LABlab(36.38, -31.43, 35.90)
CIE-LCHlch(36.38, 47.71, 131.20°)
OKLaboklab(44.11% -0.0871 0.0808)
OKLCHoklch(44.11% 0.119 137.2)
XYZxyz(5.5822, 9.2075, 2.1924)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6115 #471561
analogous
#556115 #2F6115 #156121
triadic
#2F6115 #152F61 #61152F
tetradic
#2F6115 #155561 #471561 #612115
square
#2F6115 #155561 #471561 #612115
split-complementary
#2F6115 #211561 #611555
monochromatic
#0C1905 #172F0A #2F6115 #479320 #60C62B

Accessibility & contrast

On white

7.39
#2F6115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2F6115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6115
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6115#FFFFFF#000000##FFFFFF
##2F61151.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645807
Deuteranopia (green-blind)
#5E541D
Tritanopia (blue-blind)
#2C5D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f6115;
/* rgb */ color: rgb(47, 97, 21);
/* oklch */ color: oklch(44.1% 0.119 137.2);
Tailwind
colors: {
  custom: {
    50: '#6d8e58',
    500: '#2f6115',
    950: '#000000',
  },
}
SCSS
$custom: #2f6115;
$custom-light: #6d8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6115",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 99.474,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44109,
    "c": 0.11882,
    "h": 137.2
  },
  "luminance": 0.09208
}

Semantic roles & 50–950 ramp

primary
#2F6115
secondary
#783A98
accent
#40E7AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6115

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

Preview Lab → · Contrast checker → · Palette generator →

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