#2E4016#2E4016

#2E4016 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.069 H 128.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2E4016
RGBrgb(46, 64, 22)
HSLhsl(86, 49%, 17%)
HSVhsv(86, 66%, 25%)
CMYKcmyk(28.1%, 0%, 65.6%, 74.9%)
CIE-LABlab(24.66, -15.41, 22.95)
CIE-LCHlch(24.66, 27.64, 123.88°)
OKLaboklab(34.52% -0.0433 0.0536)
OKLCHoklch(34.52% 0.069 128.9)
XYZxyz(3.1049, 4.3055, 1.4264)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4016 #281640
analogous
#403D16 #2E4016 #194016
triadic
#2E4016 #162E40 #40162E
tetradic
#2E4016 #16403D #281640 #401619
square
#2E4016 #16403D #281640 #401619
split-complementary
#2E4016 #161940 #3D1640
monochromatic
#101708 #101708 #2E4016 #4F6E26 #6F9B35

Accessibility & contrast

On white

11.28
#2E4016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E4016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4016
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4016#FFFFFF#000000##FFFFFF
##2E40161.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B12
Deuteranopia (green-blind)
#413A19
Tritanopia (blue-blind)
#2F3D37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e4016;
/* rgb */ color: rgb(46, 64, 22);
/* oklch */ color: oklch(34.5% 0.069 128.9);
Tailwind
colors: {
  custom: {
    50: '#687555',
    500: '#2e4016',
    950: '#000000',
  },
}
SCSS
$custom: #2e4016;
$custom-light: #687555;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4016",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 22
  },
  "hsl": {
    "h": 85.714,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34521,
    "c": 0.06893,
    "h": 128.9
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#2E4016
secondary
#553B77
accent
#4FD88A
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E4016

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

Preview Lab → · Contrast checker → · Palette generator →

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