#2F590F#2F590F

#2F590F is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.112 H 135.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2F590F
RGBrgb(47, 89, 15)
HSLhsl(94, 71%, 20%)
HSVhsv(94, 83%, 35%)
CMYKcmyk(47.2%, 0%, 83.1%, 65.1%)
CIE-LABlab(33.53, -28.27, 35.41)
CIE-LCHlch(33.53, 45.31, 128.60°)
OKLaboklab(41.75% -0.0791 0.0788)
OKLCHoklch(41.75% 0.112 135.1)
XYZxyz(4.8308, 7.7833, 1.6996)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F590F #390F59
analogous
#54590F #2F590F #0F5914
triadic
#2F590F #0F2F59 #590F2F
tetradic
#2F590F #0F5459 #390F59 #59140F
square
#2F590F #0F5459 #390F59 #59140F
split-complementary
#2F590F #140F59 #590F54
monochromatic
#0E1A04 #132506 #2F590F #4B8D18 #66C221

Accessibility & contrast

On white

8.21
#2F590F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2F590F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F590F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F590F#FFFFFF#000000##FFFFFF
##2F590F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#2E554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f590f;
/* rgb */ color: rgb(47, 89, 15);
/* oklch */ color: oklch(41.8% 0.112 135.1);
Tailwind
colors: {
  custom: {
    50: '#6c8854',
    500: '#2f590f',
    950: '#000000',
  },
}
SCSS
$custom: #2f590f;
$custom-light: #6c8854;
$custom-dark: #000000;
JSON
{
  "hex": "#2f590f",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 15
  },
  "hsl": {
    "h": 94.054,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41753,
    "c": 0.1116,
    "h": 135.1
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#2F590F
secondary
#683193
accent
#3AEEA0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F590F

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

Preview Lab → · Contrast checker → · Palette generator →

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