#2E460E#2E460E

#2E460E is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.086 H 130.1°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2E460E
RGBrgb(46, 70, 14)
HSLhsl(86, 67%, 16%)
HSVhsv(86, 80%, 27%)
CMYKcmyk(34.3%, 0%, 80%, 72.5%)
CIE-LABlab(26.71, -19.43, 29.14)
CIE-LCHlch(26.71, 35.02, 123.70°)
OKLaboklab(36.17% -0.0551 0.0655)
OKLCHoklch(36.17% 0.086 130.1)
XYZxyz(3.3961, 4.9928, 1.2001)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E460E #260E46
analogous
#46420E #2E460E #12460E
triadic
#2E460E #0E2E46 #460E2E
tetradic
#2E460E #0E4642 #260E46 #460E12
square
#2E460E #0E4642 #260E46 #460E12
split-complementary
#2E460E #0E1246 #420E46
monochromatic
#111A05 #111A05 #2E460E #507918 #71AC22

Accessibility & contrast

On white

10.51
#2E460E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E460E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E460E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E460E#FFFFFF#000000##FFFFFF
##2E460E1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4005
Deuteranopia (green-blind)
#463F13
Tritanopia (blue-blind)
#2F433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e460e;
/* rgb */ color: rgb(46, 70, 14);
/* oklch */ color: oklch(36.2% 0.086 130.1);
Tailwind
colors: {
  custom: {
    50: '#697951',
    500: '#2e460e',
    950: '#000000',
  },
}
SCSS
$custom: #2e460e;
$custom-light: #697951;
$custom-dark: #000000;
JSON
{
  "hex": "#2e460e",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 14
  },
  "hsl": {
    "h": 85.714,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36166,
    "c": 0.08561,
    "h": 130.1
  },
  "luminance": 0.04993
}

Semantic roles & 50–950 ramp

primary
#2E460E
secondary
#522F81
accent
#3EEA88
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E460E

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

Preview Lab → · Contrast checker → · Palette generator →

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