#2F4E07#2F4E07

#2F4E07 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.101 H 131.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2F4E07
RGBrgb(47, 78, 7)
HSLhsl(86, 84%, 17%)
HSVhsv(86, 91%, 31%)
CMYKcmyk(39.7%, 0%, 91%, 69.4%)
CIE-LABlab(29.58, -23.51, 34.52)
CIE-LCHlch(29.58, 41.77, 124.26°)
OKLaboklab(38.51% -0.0669 0.0755)
OKLCHoklch(38.51% 0.101 131.5)
XYZxyz(3.9350, 6.0683, 1.1649)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E07 #26074E
analogous
#4E4A07 #2F4E07 #0C4E07
triadic
#2F4E07 #072F4E #4E072F
tetradic
#2F4E07 #074E4A #26074E #4E070C
square
#2F4E07 #074E4A #26074E #4E070C
split-complementary
#2F4E07 #070C4E #4A074E
monochromatic
#111C03 #111C03 #2F4E07 #51860C #73BE11

Accessibility & contrast

On white

9.49
#2F4E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2F4E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E07
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E07#FFFFFF#000000##FFFFFF
##2F4E071.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4E4510
Tritanopia (blue-blind)
#304A41
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e07;
/* rgb */ color: rgb(47, 78, 7);
/* oklch */ color: oklch(38.5% 0.101 131.5);
Tailwind
colors: {
  custom: {
    50: '#6b804f',
    500: '#2f4e07',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e07;
$custom-light: #6b804f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e07",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 86.197,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3851,
    "c": 0.10082,
    "h": 131.5
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#2F4E07
secondary
#52258C
accent
#2EFA87
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2F4E07

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

Preview Lab → · Contrast checker → · Palette generator →

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