#2F6114#2F6114

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

Color values

HEX#2F6114
RGBrgb(47, 97, 20)
HSLhsl(99, 66%, 23%)
HSVhsv(99, 79%, 38%)
CMYKcmyk(51.5%, 0%, 79.4%, 62%)
CIE-LABlab(36.37, -31.50, 36.29)
CIE-LCHlch(36.37, 48.05, 130.96°)
OKLaboklab(44.1% -0.0874 0.0814)
OKLCHoklch(44.1% 0.119 137)
XYZxyz(5.5731, 9.2039, 2.1445)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6114 #461461
analogous
#556114 #2F6114 #14611F
triadic
#2F6114 #142F61 #61142F
tetradic
#2F6114 #145561 #461461 #611F14
square
#2F6114 #145561 #461461 #611F14
split-complementary
#2F6114 #1F1461 #611455
monochromatic
#0C1905 #162E0A #2F6114 #48941E #60C629

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6114#FFFFFF#000000##FFFFFF
##2F61141.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)
#645805
Deuteranopia (green-blind)
#5E541C
Tritanopia (blue-blind)
#2C5D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f6114;
/* rgb */ color: rgb(47, 97, 20);
/* oklch */ color: oklch(44.1% 0.119 137.0);
Tailwind
colors: {
  custom: {
    50: '#6d8e58',
    500: '#2f6114',
    950: '#000000',
  },
}
SCSS
$custom: #2f6114;
$custom-light: #6d8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6114",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 20
  },
  "hsl": {
    "h": 98.961,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44101,
    "c": 0.11946,
    "h": 137
  },
  "luminance": 0.09204
}

Semantic roles & 50–950 ramp

primary
#2F6114
secondary
#773898
accent
#3FE9AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F6114

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

Preview Lab → · Contrast checker → · Palette generator →

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