#2F4E11#2F4E11

#2F4E11 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.095 H 132.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2F4E11
RGBrgb(47, 78, 17)
HSLhsl(90, 64%, 19%)
HSVhsv(90, 78%, 31%)
CMYKcmyk(39.7%, 0%, 78.2%, 69.4%)
CIE-LABlab(29.65, -22.87, 30.80)
CIE-LCHlch(29.65, 38.36, 126.59°)
OKLaboklab(38.58% -0.0643 0.0695)
OKLCHoklch(38.58% 0.095 132.8)
XYZxyz(3.9978, 6.0934, 1.4957)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E11 #30114E
analogous
#4D4E11 #2F4E11 #114E11
triadic
#2F4E11 #112F4E #4E112F
tetradic
#2F4E11 #114D4E #30114E #4E1111
square
#2F4E11 #114D4E #30114E #4E1111
split-complementary
#2F4E11 #11114E #4E114D
monochromatic
#0F1905 #111C06 #2F4E11 #4D801C #6CB227

Accessibility & contrast

On white

9.46
#2F4E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4E11
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E11#FFFFFF#000000##FFFFFF
##2F4E111.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524707
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#2F4B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e11;
/* rgb */ color: rgb(47, 78, 17);
/* oklch */ color: oklch(38.6% 0.095 132.8);
Tailwind
colors: {
  custom: {
    50: '#6b8053',
    500: '#2f4e11',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e11;
$custom-light: #6b8053;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e11",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 90.492,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38581,
    "c": 0.09466,
    "h": 132.8
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#2F4E11
secondary
#5E3387
accent
#41E795
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4E11

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

Preview Lab → · Contrast checker → · Palette generator →

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