#2F5911#2F5911

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

Color values

HEX#2F5911
RGBrgb(47, 89, 17)
HSLhsl(95, 68%, 21%)
HSVhsv(95, 81%, 35%)
CMYKcmyk(47.2%, 0%, 80.9%, 65.1%)
CIE-LABlab(33.54, -28.14, 34.67)
CIE-LCHlch(33.54, 44.65, 129.06°)
OKLaboklab(41.77% -0.0786 0.0775)
OKLCHoklch(41.77% 0.11 135.4)
XYZxyz(4.8457, 7.7893, 1.7784)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5911 #3B1159
analogous
#535911 #2F5911 #115917
triadic
#2F5911 #112F59 #59112F
tetradic
#2F5911 #115359 #3B1159 #591711
square
#2F5911 #115359 #3B1159 #591711
split-complementary
#2F5911 #171159 #591153
monochromatic
#0E1A05 #142607 #2F5911 #4A8C1B #65C025

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2f5911;
/* rgb */ color: rgb(47, 89, 17);
/* oklch */ color: oklch(41.8% 0.110 135.4);
Tailwind
colors: {
  custom: {
    50: '#6c8855',
    500: '#2f5911',
    950: '#000000',
  },
}
SCSS
$custom: #2f5911;
$custom-light: #6c8855;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5911",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 95,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41767,
    "c": 0.11039,
    "h": 135.4
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#2F5911
secondary
#6B3492
accent
#3DEBA2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5911

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

Preview Lab → · Contrast checker → · Palette generator →

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