#2E4C16#2E4C16

#2E4C16 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.088 H 133.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2E4C16
RGBrgb(46, 76, 22)
HSLhsl(93, 55%, 19%)
HSVhsv(93, 71%, 30%)
CMYKcmyk(39.5%, 0%, 71.1%, 70.2%)
CIE-LABlab(28.92, -21.82, 27.69)
CIE-LCHlch(28.92, 35.26, 128.24°)
OKLaboklab(37.99% -0.0609 0.0637)
OKLCHoklch(37.99% 0.088 133.7)
XYZxyz(3.8559, 5.8075, 1.6767)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C16 #34164C
analogous
#494C16 #2E4C16 #164C19
triadic
#2E4C16 #162E4C #4C162E
tetradic
#2E4C16 #16494C #34164C #4C1916
square
#2E4C16 #16494C #34164C #4C1916
split-complementary
#2E4C16 #19164C #4C1649
monochromatic
#0E1807 #111D08 #2E4C16 #4B7B24 #67AB31

Accessibility & contrast

On white

9.72
#2E4C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2E4C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C16
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C16#FFFFFF#000000##FFFFFF
##2E4C161.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F460F
Deuteranopia (green-blind)
#4B431A
Tritanopia (blue-blind)
#2E4941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e4c16;
/* rgb */ color: rgb(46, 76, 22);
/* oklch */ color: oklch(38.0% 0.088 133.7);
Tailwind
colors: {
  custom: {
    50: '#697e56',
    500: '#2e4c16',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c16;
$custom-light: #697e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c16",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 22
  },
  "hsl": {
    "h": 93.333,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37987,
    "c": 0.08816,
    "h": 133.7
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#2E4C16
secondary
#633A84
accent
#49DE9C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2E4C16

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

Preview Lab → · Contrast checker → · Palette generator →

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