#2F4E19#2F4E19

#2F4E19 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.7% C 0.088 H 134.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2F4E19
RGBrgb(47, 78, 25)
HSLhsl(95, 51%, 20%)
HSVhsv(95, 68%, 31%)
CMYKcmyk(39.7%, 0%, 67.9%, 69.4%)
CIE-LABlab(29.72, -22.12, 27.07)
CIE-LCHlch(29.72, 34.96, 129.24°)
OKLaboklab(38.67% -0.0615 0.0628)
OKLCHoklch(38.67% 0.088 134.4)
XYZxyz(4.0721, 6.1231, 1.8868)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E19 #38194E
analogous
#494E19 #2F4E19 #194E1D
triadic
#2F4E19 #192F4E #4E192F
tetradic
#2F4E19 #19494E #38194E #4E1D19
square
#2F4E19 #19494E #38194E #4E1D19
split-complementary
#2F4E19 #1D194E #4E1949
monochromatic
#0E1707 #13200A #2F4E19 #4B7C28 #67AB37

Accessibility & contrast

On white

9.44
#2F4E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2F4E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E19
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E19#FFFFFF#000000##FFFFFF
##2F4E191.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514813
Deuteranopia (green-blind)
#4D451D
Tritanopia (blue-blind)
#2F4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e19;
/* rgb */ color: rgb(47, 78, 25);
/* oklch */ color: oklch(38.7% 0.088 134.4);
Tailwind
colors: {
  custom: {
    50: '#6a8058',
    500: '#2f4e19',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e19;
$custom-light: #6a8058;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e19",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 25
  },
  "hsl": {
    "h": 95.094,
    "s": 51.456,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38665,
    "c": 0.08793,
    "h": 134.4
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#2F4E19
secondary
#673E84
accent
#4DDBA0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4E19

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

Preview Lab → · Contrast checker → · Palette generator →

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