#2E470E#2E470E

#2E470E is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.087 H 130.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2E470E
RGBrgb(46, 71, 14)
HSLhsl(86, 67%, 17%)
HSVhsv(86, 80%, 28%)
CMYKcmyk(35.2%, 0%, 80.3%, 72.2%)
CIE-LABlab(27.07, -19.95, 29.49)
CIE-LCHlch(27.07, 35.61, 124.08°)
OKLaboklab(36.46% -0.0566 0.0662)
OKLCHoklch(36.46% 0.087 130.5)
XYZxyz(3.4592, 5.1189, 1.2212)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E470E #270E47
analogous
#47440E #2E470E #12470E
triadic
#2E470E #0E2E47 #470E2E
tetradic
#2E470E #0E4744 #270E47 #470E12
square
#2E470E #0E4744 #270E47 #470E12
split-complementary
#2E470E #0E1247 #440E47
monochromatic
#111A05 #111A05 #2E470E #4F7A18 #70AD22

Accessibility & contrast

On white

10.38
#2E470E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E470E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E470E
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E470E#FFFFFF#000000##FFFFFF
##2E470E1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4105
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#2F443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e470e;
/* rgb */ color: rgb(46, 71, 14);
/* oklch */ color: oklch(36.5% 0.087 130.5);
Tailwind
colors: {
  custom: {
    50: '#697a51',
    500: '#2e470e',
    950: '#000000',
  },
}
SCSS
$custom: #2e470e;
$custom-light: #697a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2e470e",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 86.316,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36456,
    "c": 0.08711,
    "h": 130.5
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#2E470E
secondary
#532F82
accent
#3EEA89
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E470E

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

Preview Lab → · Contrast checker → · Palette generator →

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