#2E4F16#2E4F16

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

Color values

HEX#2E4F16
RGBrgb(46, 79, 22)
HSLhsl(95, 56%, 20%)
HSVhsv(95, 72%, 31%)
CMYKcmyk(41.8%, 0%, 72.2%, 69%)
CIE-LABlab(29.99, -23.33, 28.84)
CIE-LCHlch(29.99, 37.10, 128.97°)
OKLaboklab(38.86% -0.065 0.0661)
OKLCHoklch(38.86% 0.093 134.5)
XYZxyz(4.0674, 6.2305, 1.7472)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F16 #37164F
analogous
#4B4F16 #2E4F16 #164F1B
triadic
#2E4F16 #162E4F #4F162E
tetradic
#2E4F16 #164B4F #37164F #4F1B16
square
#2E4F16 #164B4F #37164F #4F1B16
split-complementary
#2E4F16 #1B164F #4F164B
monochromatic
#0E1807 #121F09 #2E4F16 #4A7F23 #66AF31

Accessibility & contrast

On white

9.35
#2E4F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4F16
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F16#FFFFFF#000000##FFFFFF
##2E4F161.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4f16;
/* rgb */ color: rgb(46, 79, 22);
/* oklch */ color: oklch(38.9% 0.093 134.5);
Tailwind
colors: {
  custom: {
    50: '#6a8056',
    500: '#2e4f16',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f16;
$custom-light: #6a8056;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f16",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 94.737,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38857,
    "c": 0.09276,
    "h": 134.5
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#2E4F16
secondary
#663A86
accent
#48E0A0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E4F16

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

Preview Lab → · Contrast checker → · Palette generator →

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