#2F4F14#2F4F14

#2F4F14 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.9% C 0.094 H 133.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2F4F14
RGBrgb(47, 79, 20)
HSLhsl(93, 60%, 19%)
HSVhsv(93, 75%, 31%)
CMYKcmyk(40.5%, 0%, 74.7%, 69%)
CIE-LABlab(30.03, -23.11, 29.85)
CIE-LCHlch(30.03, 37.75, 127.75°)
OKLaboklab(38.9% -0.0647 0.0679)
OKLCHoklch(38.9% 0.094 133.6)
XYZxyz(4.0945, 6.2466, 1.6517)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4F14 #34144F
analogous
#4D4F14 #2F4F14 #144F16
triadic
#2F4F14 #142F4F #4F142F
tetradic
#2F4F14 #144D4F #34144F #4F1614
square
#2F4F14 #144D4F #34144F #4F1614
split-complementary
#2F4F14 #16144F #4F144D
monochromatic
#0F1806 #121E08 #2F4F14 #4C8020 #69B12D

Accessibility & contrast

On white

9.34
#2F4F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2F4F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4F14
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4F14#FFFFFF#000000##FFFFFF
##2F4F141.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480B
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#2F4C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4f14;
/* rgb */ color: rgb(47, 79, 20);
/* oklch */ color: oklch(38.9% 0.094 133.6);
Tailwind
colors: {
  custom: {
    50: '#6b8055',
    500: '#2f4f14',
    950: '#000000',
  },
}
SCSS
$custom: #2f4f14;
$custom-light: #6b8055;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4f14",
  "rgb": {
    "r": 47,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 92.542,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38899,
    "c": 0.09383,
    "h": 133.6
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#2F4F14
secondary
#633887
accent
#45E39B
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4F14

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

Preview Lab → · Contrast checker → · Palette generator →

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