#2F4F13#2F4F13

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

Color values

HEX#2F4F13
RGBrgb(47, 79, 19)
HSLhsl(92, 61%, 19%)
HSVhsv(92, 76%, 31%)
CMYKcmyk(40.5%, 0%, 75.9%, 69%)
CIE-LABlab(30.02, -23.20, 30.30)
CIE-LCHlch(30.02, 38.16, 127.45°)
OKLaboklab(38.89% -0.065 0.0687)
OKLCHoklch(38.89% 0.095 133.4)
XYZxyz(4.0857, 6.2431, 1.6057)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4F13 #33134F
analogous
#4D4F13 #2F4F13 #134F15
triadic
#2F4F13 #132F4F #4F132F
tetradic
#2F4F13 #134D4F #33134F #4F1513
square
#2F4F13 #134D4F #33134F #4F1513
split-complementary
#2F4F13 #15134F #4F134D
monochromatic
#0F1906 #121E07 #2F4F13 #4C801F #6AB22B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4F13#FFFFFF#000000##FFFFFF
##2F4F131.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)
#52480A
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#2F4C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f4f13;
/* rgb */ color: rgb(47, 79, 19);
/* oklch */ color: oklch(38.9% 0.095 133.4);
Tailwind
colors: {
  custom: {
    50: '#6b8055',
    500: '#2f4f13',
    950: '#000000',
  },
}
SCSS
$custom: #2f4f13;
$custom-light: #6b8055;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4f13",
  "rgb": {
    "r": 47,
    "g": 79,
    "b": 19
  },
  "hsl": {
    "h": 92,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38889,
    "c": 0.09461,
    "h": 133.4
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#2F4F13
secondary
#623688
accent
#43E499
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4F13

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

Preview Lab → · Contrast checker → · Palette generator →

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