#2E3F09#2E3F09

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

Color values

HEX#2E3F09
RGBrgb(46, 63, 9)
HSLhsl(79, 75%, 14%)
HSVhsv(79, 86%, 25%)
CMYKcmyk(27%, 0%, 85.7%, 75.3%)
CIE-LABlab(24.18, -15.99, 28.74)
CIE-LCHlch(24.18, 32.89, 119.09°)
OKLaboklab(34.1% -0.0462 0.0638)
OKLCHoklch(34.1% 0.079 126)
XYZxyz(2.9535, 4.1555, 0.9049)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3F09 #1A093F
analogous
#3F3509 #2E3F09 #133F09
triadic
#2E3F09 #092E3F #3F092E
tetradic
#2E3F09 #093F35 #1A093F #3F0913
square
#2E3F09 #093F35 #1A093F #3F0913
split-complementary
#2E3F09 #09133F #35093F
monochromatic
#141B04 #141B04 #2E3F09 #557511 #7CAA18

Accessibility & contrast

On white

11.47
#2E3F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3F09
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3F09#FFFFFF#000000##FFFFFF
##2E3F091.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A01
Deuteranopia (green-blind)
#41390E
Tritanopia (blue-blind)
#303C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e3f09;
/* rgb */ color: rgb(46, 63, 9);
/* oklch */ color: oklch(34.1% 0.079 126.0);
Tailwind
colors: {
  custom: {
    50: '#69744d',
    500: '#2e3f09',
    950: '#000000',
  },
}
SCSS
$custom: #2e3f09;
$custom-light: #69744d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3f09",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 9
  },
  "hsl": {
    "h": 78.889,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34095,
    "c": 0.07878,
    "h": 126
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#2E3F09
secondary
#42277D
accent
#36F271
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E3F09

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

Preview Lab → · Contrast checker → · Palette generator →

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