#2E390C#2E390C

#2E390C is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.4% C 0.068 H 122.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#2E390C
RGBrgb(46, 57, 12)
HSLhsl(75, 65%, 14%)
HSVhsv(75, 79%, 22%)
CMYKcmyk(19.3%, 0%, 78.9%, 77.6%)
CIE-LABlab(22.07, -12.34, 25.32)
CIE-LCHlch(22.07, 28.16, 115.99°)
OKLaboklab(32.39% -0.0359 0.0572)
OKLCHoklch(32.39% 0.068 122.1)
XYZxyz(2.6562, 3.5336, 0.8899)
Luminance0.0353 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E390C #170C39
analogous
#392D0C #2E390C #17390C
triadic
#2E390C #0C2E39 #390C2E
tetradic
#2E390C #0C392D #170C39 #390C17
square
#2E390C #0C392D #170C39 #390C17
split-complementary
#2E390C #0C1739 #2D0C39
monochromatic
#141905 #141905 #2E390C #576C17 #809E21

Accessibility & contrast

On white

12.30
#2E390C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2E390C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E390C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E390C#FFFFFF#000000##FFFFFF
##2E390C1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3506
Deuteranopia (green-blind)
#3B3510
Tritanopia (blue-blind)
#313630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e390c;
/* rgb */ color: rgb(46, 57, 12);
/* oklch */ color: oklch(32.4% 0.068 122.1);
Tailwind
colors: {
  custom: {
    50: '#686f4e',
    500: '#2e390c',
    950: '#000000',
  },
}
SCSS
$custom: #2e390c;
$custom-light: #686f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e390c",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 12
  },
  "hsl": {
    "h": 74.667,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32393,
    "c": 0.06752,
    "h": 122.1
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#2E390C
secondary
#3E2C75
accent
#40E869
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E390C

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

Preview Lab → · Contrast checker → · Palette generator →

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