#2E4F14#2E4F14

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

Color values

HEX#2E4F14
RGBrgb(46, 79, 20)
HSLhsl(94, 60%, 19%)
HSVhsv(94, 75%, 31%)
CMYKcmyk(41.8%, 0%, 74.7%, 69%)
CIE-LABlab(29.97, -23.52, 29.77)
CIE-LCHlch(29.97, 37.94, 128.31°)
OKLaboklab(38.84% -0.0657 0.0678)
OKLCHoklch(38.84% 0.094 134.1)
XYZxyz(4.0489, 6.2231, 1.6495)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F14 #35144F
analogous
#4C4F14 #2E4F14 #144F17
triadic
#2E4F14 #142E4F #4F142E
tetradic
#2E4F14 #144C4F #35144F #4F1714
square
#2E4F14 #144C4F #35144F #4F1714
split-complementary
#2E4F14 #17144F #4F144C
monochromatic
#0E1806 #121E08 #2E4F14 #4A8020 #67B12D

Accessibility & contrast

On white

9.36
#2E4F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E4F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F14
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F14#FFFFFF#000000##FFFFFF
##2E4F141.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4f14;
/* rgb */ color: rgb(46, 79, 20);
/* oklch */ color: oklch(38.8% 0.094 134.1);
Tailwind
colors: {
  custom: {
    50: '#6a8055',
    500: '#2e4f14',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f14;
$custom-light: #6a8055;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f14",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 93.559,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38836,
    "c": 0.09442,
    "h": 134.1
  },
  "luminance": 0.06223
}

Semantic roles & 50–950 ramp

primary
#2E4F14
secondary
#643887
accent
#45E39D
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E4F14

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

Preview Lab → · Contrast checker → · Palette generator →

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