#2E4115#2E4115

#2E4115 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.072 H 129.2°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2E4115
RGBrgb(46, 65, 21)
HSLhsl(86, 51%, 17%)
HSVhsv(86, 68%, 25%)
CMYKcmyk(29.2%, 0%, 67.7%, 74.5%)
CIE-LABlab(25.00, -16.08, 23.89)
CIE-LCHlch(25.00, 28.79, 123.95°)
OKLaboklab(34.8% -0.0453 0.0555)
OKLCHoklch(34.8% 0.072 129.2)
XYZxyz(3.1523, 4.4155, 1.3955)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4115 #281541
analogous
#413E15 #2E4115 #184115
triadic
#2E4115 #152E41 #41152E
tetradic
#2E4115 #15413E #281541 #411518
square
#2E4115 #15413E #281541 #411518
split-complementary
#2E4115 #151841 #3E1541
monochromatic
#101707 #101707 #2E4115 #4F6F24 #6F9E33

Accessibility & contrast

On white

11.15
#2E4115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E4115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4115
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4115#FFFFFF#000000##FFFFFF
##2E41151.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C10
Deuteranopia (green-blind)
#423B18
Tritanopia (blue-blind)
#2F3E38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e4115;
/* rgb */ color: rgb(46, 65, 21);
/* oklch */ color: oklch(34.8% 0.072 129.2);
Tailwind
colors: {
  custom: {
    50: '#687554',
    500: '#2e4115',
    950: '#000000',
  },
}
SCSS
$custom: #2e4115;
$custom-light: #687554;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4115",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 21
  },
  "hsl": {
    "h": 85.909,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34795,
    "c": 0.07162,
    "h": 129.2
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#2E4115
secondary
#553979
accent
#4DDB8A
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E4115

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

Preview Lab → · Contrast checker → · Palette generator →

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