#2E4013#2E4013

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

Color values

HEX#2E4013
RGBrgb(46, 64, 19)
HSLhsl(84, 54%, 16%)
HSVhsv(84, 70%, 25%)
CMYKcmyk(28.1%, 0%, 70.3%, 74.9%)
CIE-LABlab(24.62, -15.73, 24.53)
CIE-LCHlch(24.62, 29.14, 122.67°)
OKLaboklab(34.48% -0.0445 0.0566)
OKLCHoklch(34.48% 0.072 128.2)
XYZxyz(3.0776, 4.2946, 1.2828)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4013 #251340
analogous
#403C13 #2E4013 #184013
triadic
#2E4013 #132E40 #40132E
tetradic
#2E4013 #13403C #251340 #401318
square
#2E4013 #13403C #251340 #401318
split-complementary
#2E4013 #131840 #3C1340
monochromatic
#111807 #111807 #2E4013 #506F21 #729E2F

Accessibility & contrast

On white

11.30
#2E4013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4013
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4013#FFFFFF#000000##FFFFFF
##2E40131.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0E
Deuteranopia (green-blind)
#413A16
Tritanopia (blue-blind)
#303D37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e4013;
/* rgb */ color: rgb(46, 64, 19);
/* oklch */ color: oklch(34.5% 0.072 128.2);
Tailwind
colors: {
  custom: {
    50: '#687553',
    500: '#2e4013',
    950: '#000000',
  },
}
SCSS
$custom: #2e4013;
$custom-light: #687553;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4013",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 19
  },
  "hsl": {
    "h": 84,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34482,
    "c": 0.072,
    "h": 128.2
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#2E4013
secondary
#513679
accent
#4ADE85
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E4013

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

Preview Lab → · Contrast checker → · Palette generator →

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