#2E3F0D#2E3F0D

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

Color values

HEX#2E3F0D
RGBrgb(46, 63, 13)
HSLhsl(80, 66%, 15%)
HSVhsv(80, 79%, 25%)
CMYKcmyk(27%, 0%, 79.4%, 75.3%)
CIE-LABlab(24.21, -15.71, 27.06)
CIE-LCHlch(24.21, 31.29, 120.14°)
OKLaboklab(34.13% -0.0451 0.061)
OKLCHoklch(34.13% 0.076 126.5)
XYZxyz(2.9769, 4.1649, 1.0278)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3F0D #1E0D3F
analogous
#3F370D #2E3F0D #153F0D
triadic
#2E3F0D #0D2E3F #3F0D2E
tetradic
#2E3F0D #0D3F37 #1E0D3F #3F0D15
square
#2E3F0D #0D3F37 #1E0D3F #3F0D15
split-complementary
#2E3F0D #0D153F #370D3F
monochromatic
#131905 #131905 #2E3F0D #537217 #78A422

Accessibility & contrast

On white

11.46
#2E3F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3F0D
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3F0D#FFFFFF#000000##FFFFFF
##2E3F0D1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3f0d;
/* rgb */ color: rgb(46, 63, 13);
/* oklch */ color: oklch(34.1% 0.076 126.5);
Tailwind
colors: {
  custom: {
    50: '#69744f',
    500: '#2e3f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2e3f0d;
$custom-light: #69744f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3f0d",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 13
  },
  "hsl": {
    "h": 80.4,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34129,
    "c": 0.07581,
    "h": 126.5
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#2E3F0D
secondary
#482D7B
accent
#3FE979
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E3F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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