#2E3F0E#2E3F0E

#2E3F0E is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.1% C 0.075 H 126.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2E3F0E
RGBrgb(46, 63, 14)
HSLhsl(81, 64%, 15%)
HSVhsv(81, 78%, 25%)
CMYKcmyk(27%, 0%, 77.8%, 75.3%)
CIE-LABlab(24.22, -15.63, 26.60)
CIE-LCHlch(24.22, 30.85, 120.43°)
OKLaboklab(34.14% -0.0448 0.0602)
OKLCHoklch(34.14% 0.075 126.6)
XYZxyz(2.9835, 4.1675, 1.0626)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3F0E #1F0E3F
analogous
#3F370E #2E3F0E #163F0E
triadic
#2E3F0E #0E2E3F #3F0E2E
tetradic
#2E3F0E #0E3F37 #1F0E3F #3F0E16
square
#2E3F0E #0E3F37 #1F0E3F #3F0E16
split-complementary
#2E3F0E #0E163F #370E3F
monochromatic
#121906 #121906 #2E3F0E #537119 #77A324

Accessibility & contrast

On white

11.45
#2E3F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E3F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3F0E
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3F0E#FFFFFF#000000##FFFFFF
##2E3F0E1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A07
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#303C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e3f0e;
/* rgb */ color: rgb(46, 63, 14);
/* oklch */ color: oklch(34.1% 0.075 126.6);
Tailwind
colors: {
  custom: {
    50: '#697450',
    500: '#2e3f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2e3f0e;
$custom-light: #697450;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3f0e",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 14
  },
  "hsl": {
    "h": 80.816,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34139,
    "c": 0.07498,
    "h": 126.6
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#2E3F0E
secondary
#492F7A
accent
#41E77B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E3F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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