#2F4910#2F4910

#2F4910 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.088 H 131.0°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2F4910
RGBrgb(47, 73, 16)
HSLhsl(87, 64%, 17%)
HSVhsv(87, 78%, 29%)
CMYKcmyk(35.6%, 0%, 78.1%, 71.4%)
CIE-LABlab(27.86, -20.40, 29.43)
CIE-LCHlch(27.86, 35.81, 124.73°)
OKLaboklab(37.12% -0.0577 0.0664)
OKLCHoklch(37.12% 0.088 131)
XYZxyz(3.6483, 5.4067, 1.3415)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4910 #2A1049
analogous
#494610 #2F4910 #134910
triadic
#2F4910 #102F49 #49102F
tetradic
#2F4910 #104946 #2A1049 #491013
square
#2F4910 #104946 #2A1049 #491013
split-complementary
#2F4910 #101349 #461049
monochromatic
#101906 #101906 #2F4910 #4F7B1B #70AD26

Accessibility & contrast

On white

10.09
#2F4910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2F4910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4910
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4910#FFFFFF#000000##FFFFFF
##2F49101.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4307
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#30463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f4910;
/* rgb */ color: rgb(47, 73, 16);
/* oklch */ color: oklch(37.1% 0.088 131.0);
Tailwind
colors: {
  custom: {
    50: '#6a7c52',
    500: '#2f4910',
    950: '#000000',
  },
}
SCSS
$custom: #2f4910;
$custom-light: #6a7c52;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4910",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 87.368,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37124,
    "c": 0.08798,
    "h": 131
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#2F4910
secondary
#573283
accent
#41E78D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F4910

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

Preview Lab → · Contrast checker → · Palette generator →

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