#2E390F#2E390F

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

Color values

HEX#2E390F
RGBrgb(46, 57, 15)
HSLhsl(76, 58%, 14%)
HSVhsv(76, 74%, 22%)
CMYKcmyk(19.3%, 0%, 73.7%, 77.6%)
CIE-LABlab(22.09, -12.09, 23.87)
CIE-LCHlch(22.09, 26.76, 116.86°)
OKLaboklab(32.42% -0.0349 0.0546)
OKLCHoklch(32.42% 0.065 122.6)
XYZxyz(2.6761, 3.5416, 0.9945)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E390F #1A0F39
analogous
#392F0F #2E390F #19390F
triadic
#2E390F #0F2E39 #390F2E
tetradic
#2E390F #0F392F #1A0F39 #390F19
square
#2E390F #0F392F #1A0F39 #390F19
split-complementary
#2E390F #0F1939 #2F0F39
monochromatic
#141806 #141806 #2E390F #55691C #7C9A29

Accessibility & contrast

On white

12.29
#2E390F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E390F
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E390F#FFFFFF#000000##FFFFFF
##2E390F1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e390f;
/* rgb */ color: rgb(46, 57, 15);
/* oklch */ color: oklch(32.4% 0.065 122.6);
Tailwind
colors: {
  custom: {
    50: '#686f4f',
    500: '#2e390f',
    950: '#000000',
  },
}
SCSS
$custom: #2e390f;
$custom-light: #686f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e390f",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 15
  },
  "hsl": {
    "h": 75.714,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32425,
    "c": 0.06478,
    "h": 122.6
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#2E390F
secondary
#423073
accent
#46E26F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2E390F

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

Preview Lab → · Contrast checker → · Palette generator →

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