#2F4F16#2F4F16

#2F4F16 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 38.9% C 0.092 H 134.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2F4F16
RGBrgb(47, 79, 22)
HSLhsl(94, 56%, 20%)
HSVhsv(94, 72%, 31%)
CMYKcmyk(40.5%, 0%, 72.2%, 69%)
CIE-LABlab(30.04, -22.93, 28.92)
CIE-LCHlch(30.04, 36.91, 128.41°)
OKLaboklab(38.92% -0.064 0.0663)
OKLCHoklch(38.92% 0.092 134)
XYZxyz(4.1130, 6.2540, 1.7493)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4F16 #36164F
analogous
#4C4F16 #2F4F16 #164F19
triadic
#2F4F16 #162F4F #4F162F
tetradic
#2F4F16 #164C4F #36164F #4F1916
square
#2F4F16 #164C4F #36164F #4F1916
split-complementary
#2F4F16 #19164F #4F164C
monochromatic
#0E1807 #131F09 #2F4F16 #4B7F23 #68AF31

Accessibility & contrast

On white

9.33
#2F4F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4F16
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4F16#FFFFFF#000000##FFFFFF
##2F4F161.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f4f16;
/* rgb */ color: rgb(47, 79, 22);
/* oklch */ color: oklch(38.9% 0.092 134.0);
Tailwind
colors: {
  custom: {
    50: '#6a8056',
    500: '#2f4f16',
    950: '#000000',
  },
}
SCSS
$custom: #2f4f16;
$custom-light: #6a8056;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4f16",
  "rgb": {
    "r": 47,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 93.684,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3892,
    "c": 0.09216,
    "h": 134
  },
  "luminance": 0.06254
}

Semantic roles & 50–950 ramp

primary
#2F4F16
secondary
#653A86
accent
#48E09D
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4F16

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

Preview Lab → · Contrast checker → · Palette generator →

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