#2F4E16#2F4E16

#2F4E16 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.091 H 133.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2F4E16
RGBrgb(47, 78, 22)
HSLhsl(93, 56%, 20%)
HSVhsv(93, 72%, 31%)
CMYKcmyk(39.7%, 0%, 71.8%, 69.4%)
CIE-LABlab(29.69, -22.43, 28.54)
CIE-LCHlch(29.69, 36.30, 128.16°)
OKLaboklab(38.63% -0.0626 0.0655)
OKLCHoklch(38.63% 0.091 133.7)
XYZxyz(4.0414, 6.1109, 1.7255)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E16 #35164E
analogous
#4B4E16 #2F4E16 #164E19
triadic
#2F4E16 #162F4E #4E162F
tetradic
#2F4E16 #164B4E #35164E #4E1916
square
#2F4E16 #164B4E #35164E #4E1916
split-complementary
#2F4E16 #19164E #4E164B
monochromatic
#0E1807 #121E09 #2F4E16 #4C7E23 #69AD31

Accessibility & contrast

On white

9.45
#2F4E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2F4E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E16
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E16#FFFFFF#000000##FFFFFF
##2F4E161.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51480F
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#2F4B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4e16;
/* rgb */ color: rgb(47, 78, 22);
/* oklch */ color: oklch(38.6% 0.091 133.7);
Tailwind
colors: {
  custom: {
    50: '#6a8056',
    500: '#2f4e16',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e16;
$custom-light: #6a8056;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e16",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 93.214,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38631,
    "c": 0.09063,
    "h": 133.7
  },
  "luminance": 0.06111
}

Semantic roles & 50–950 ramp

primary
#2F4E16
secondary
#643A85
accent
#49DF9C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F4E16

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

Preview Lab → · Contrast checker → · Palette generator →

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