#2F5910#2F5910

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

Color values

HEX#2F5910
RGBrgb(47, 89, 16)
HSLhsl(95, 70%, 21%)
HSVhsv(95, 82%, 35%)
CMYKcmyk(47.2%, 0%, 82%, 65.1%)
CIE-LABlab(33.53, -28.20, 35.04)
CIE-LCHlch(33.53, 44.98, 128.83°)
OKLaboklab(41.76% -0.0788 0.0782)
OKLCHoklch(41.76% 0.111 135.2)
XYZxyz(4.8381, 7.7862, 1.7381)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5910 #3A1059
analogous
#535910 #2F5910 #105916
triadic
#2F5910 #102F59 #59102F
tetradic
#2F5910 #105359 #3A1059 #591610
square
#2F5910 #105359 #3A1059 #591610
split-complementary
#2F5910 #161059 #591053
monochromatic
#0E1A05 #142507 #2F5910 #4A8D19 #66C123

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F5910#FFFFFF#000000##FFFFFF
##2F59101.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)
#5D5102
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#2E554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f5910;
/* rgb */ color: rgb(47, 89, 16);
/* oklch */ color: oklch(41.8% 0.111 135.2);
Tailwind
colors: {
  custom: {
    50: '#6c8855',
    500: '#2f5910',
    950: '#000000',
  },
}
SCSS
$custom: #2f5910;
$custom-light: #6c8855;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5910",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 16
  },
  "hsl": {
    "h": 94.521,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.11101,
    "h": 135.2
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#2F5910
secondary
#6A3392
accent
#3BECA1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5910

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

Preview Lab → · Contrast checker → · Palette generator →

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