#2E470C#2E470C

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

Color values

HEX#2E470C
RGBrgb(46, 71, 12)
HSLhsl(85, 71%, 16%)
HSVhsv(85, 83%, 28%)
CMYKcmyk(35.2%, 0%, 83.1%, 72.2%)
CIE-LABlab(27.06, -20.10, 30.31)
CIE-LCHlch(27.06, 36.37, 123.54°)
OKLaboklab(36.44% -0.0571 0.0676)
OKLCHoklch(36.44% 0.089 130.2)
XYZxyz(3.4463, 5.1138, 1.1532)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E470C #250C47
analogous
#47430C #2E470C #11470C
triadic
#2E470C #0C2E47 #470C2E
tetradic
#2E470C #0C4743 #250C47 #470C11
square
#2E470C #0C4743 #250C47 #470C11
split-complementary
#2E470C #0C1147 #430C47
monochromatic
#111A04 #111A04 #2E470C #507B15 #72B01E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E470C#FFFFFF#000000##FFFFFF
##2E470C1.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)
#4B4102
Deuteranopia (green-blind)
#473F12
Tritanopia (blue-blind)
#2F443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e470c;
/* rgb */ color: rgb(46, 71, 12);
/* oklch */ color: oklch(36.4% 0.089 130.2);
Tailwind
colors: {
  custom: {
    50: '#697a50',
    500: '#2e470c',
    950: '#000000',
  },
}
SCSS
$custom: #2e470c;
$custom-light: #697a50;
$custom-dark: #000000;
JSON
{
  "hex": "#2e470c",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 85.424,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3644,
    "c": 0.08851,
    "h": 130.2
  },
  "luminance": 0.05114
}

Semantic roles & 50–950 ramp

primary
#2E470C
secondary
#512C83
accent
#3AEE86
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E470C

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

Preview Lab → · Contrast checker → · Palette generator →

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