#2E460F#2E460F

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

Color values

HEX#2E460F
RGBrgb(46, 70, 15)
HSLhsl(86, 65%, 17%)
HSVhsv(86, 79%, 27%)
CMYKcmyk(34.3%, 0%, 78.6%, 72.5%)
CIE-LABlab(26.72, -19.35, 28.70)
CIE-LCHlch(26.72, 34.61, 123.99°)
OKLaboklab(36.18% -0.0548 0.0647)
OKLCHoklch(36.18% 0.085 130.3)
XYZxyz(3.4031, 4.9955, 1.2368)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E460F #270F46
analogous
#46430F #2E460F #13460F
triadic
#2E460F #0F2E46 #460F2E
tetradic
#2E460F #0F4643 #270F46 #460F13
square
#2E460F #0F4643 #270F46 #460F13
split-complementary
#2E460F #0F1346 #430F46
monochromatic
#111905 #111905 #2E460F #4F781A #70AB25

Accessibility & contrast

On white

10.50
#2E460F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E460F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E460F#FFFFFF#000000##FFFFFF
##2E460F1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e460f;
/* rgb */ color: rgb(46, 70, 15);
/* oklch */ color: oklch(36.2% 0.085 130.3);
Tailwind
colors: {
  custom: {
    50: '#697951',
    500: '#2e460f',
    950: '#000000',
  },
}
SCSS
$custom: #2e460f;
$custom-light: #697951;
$custom-dark: #000000;
JSON
{
  "hex": "#2e460f",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 86.182,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36175,
    "c": 0.08485,
    "h": 130.3
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#2E460F
secondary
#533080
accent
#40E889
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E460F

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

Preview Lab → · Contrast checker → · Palette generator →

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