#2E470F#2E470F

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

Color values

HEX#2E470F
RGBrgb(46, 71, 15)
HSLhsl(87, 65%, 17%)
HSVhsv(87, 79%, 28%)
CMYKcmyk(35.2%, 0%, 78.9%, 72.2%)
CIE-LABlab(27.08, -19.88, 29.06)
CIE-LCHlch(27.08, 35.21, 124.37°)
OKLaboklab(36.46% -0.0563 0.0655)
OKLCHoklch(36.46% 0.086 130.7)
XYZxyz(3.4661, 5.1217, 1.2578)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E470F #280F47
analogous
#47440F #2E470F #12470F
triadic
#2E470F #0F2E47 #470F2E
tetradic
#2E470F #0F4744 #280F47 #470F12
square
#2E470F #0F4744 #280F47 #470F12
split-complementary
#2E470F #0F1247 #440F47
monochromatic
#101905 #101905 #2E470F #4F7A1A #6FAC24

Accessibility & contrast

On white

10.37
#2E470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E470F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E470F#FFFFFF#000000##FFFFFF
##2E470F1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e470f;
/* rgb */ color: rgb(46, 71, 15);
/* oklch */ color: oklch(36.5% 0.086 130.7);
Tailwind
colors: {
  custom: {
    50: '#697a51',
    500: '#2e470f',
    950: '#000000',
  },
}
SCSS
$custom: #2e470f;
$custom-light: #697a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2e470f",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 86.786,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36465,
    "c": 0.08635,
    "h": 130.7
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#2E470F
secondary
#553081
accent
#40E88B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E470F

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

Preview Lab → · Contrast checker → · Palette generator →

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