#2F4F19#2F4F19

#2F4F19 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.0% C 0.089 H 134.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2F4F19
RGBrgb(47, 79, 25)
HSLhsl(96, 52%, 20%)
HSVhsv(96, 68%, 31%)
CMYKcmyk(40.5%, 0%, 68.4%, 69%)
CIE-LABlab(30.07, -22.62, 27.47)
CIE-LCHlch(30.07, 35.58, 129.48°)
OKLaboklab(38.95% -0.0629 0.0636)
OKLCHoklch(38.95% 0.089 134.7)
XYZxyz(4.1437, 6.2663, 1.9107)
Luminance0.0627 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4F19 #39194F
analogous
#4A4F19 #2F4F19 #194F1E
triadic
#2F4F19 #192F4F #4F192F
tetradic
#2F4F19 #194A4F #39194F #4F1E19
square
#2F4F19 #194A4F #39194F #4F1E19
split-complementary
#2F4F19 #1E194F #4F194A
monochromatic
#0E1707 #13210A #2F4F19 #4B7D28 #66AC36

Accessibility & contrast

On white

9.32
#2F4F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F4F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4F19
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4F19#FFFFFF#000000##FFFFFF
##2F4F191.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524813
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#2F4C44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4f19;
/* rgb */ color: rgb(47, 79, 25);
/* oklch */ color: oklch(39.0% 0.089 134.7);
Tailwind
colors: {
  custom: {
    50: '#6a8058',
    500: '#2f4f19',
    950: '#000000',
  },
}
SCSS
$custom: #2f4f19;
$custom-light: #6a8058;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4f19",
  "rgb": {
    "r": 47,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 95.556,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38954,
    "c": 0.08949,
    "h": 134.7
  },
  "luminance": 0.06266
}

Semantic roles & 50–950 ramp

primary
#2F4F19
secondary
#683E85
accent
#4CDBA1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4F19

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

Preview Lab → · Contrast checker → · Palette generator →

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