#2E3F0A#2E3F0A

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

Color values

HEX#2E3F0A
RGBrgb(46, 63, 10)
HSLhsl(79, 73%, 14%)
HSVhsv(79, 84%, 25%)
CMYKcmyk(27%, 0%, 84.1%, 75.3%)
CIE-LABlab(24.19, -15.92, 28.34)
CIE-LCHlch(24.19, 32.51, 119.33°)
OKLaboklab(34.1% -0.046 0.0631)
OKLCHoklch(34.1% 0.078 126.1)
XYZxyz(2.9590, 4.1577, 0.9337)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3F0A #1B0A3F
analogous
#3F360A #2E3F0A #143F0A
triadic
#2E3F0A #0A2E3F #3F0A2E
tetradic
#2E3F0A #0A3F36 #1B0A3F #3F0A14
square
#2E3F0A #0A3F36 #1B0A3F #3F0A14
split-complementary
#2E3F0A #0A143F #360A3F
monochromatic
#131A04 #131A04 #2E3F0A #557412 #7BA91B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3F0A#FFFFFF#000000##FFFFFF
##2E3F0A1.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)
#433A02
Deuteranopia (green-blind)
#41390F
Tritanopia (blue-blind)
#303C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e3f0a;
/* rgb */ color: rgb(46, 63, 10);
/* oklch */ color: oklch(34.1% 0.078 126.1);
Tailwind
colors: {
  custom: {
    50: '#69744d',
    500: '#2e3f0a',
    950: '#000000',
  },
}
SCSS
$custom: #2e3f0a;
$custom-light: #69744d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3f0a",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 10
  },
  "hsl": {
    "h": 79.245,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34103,
    "c": 0.07807,
    "h": 126.1
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#2E3F0A
secondary
#43297C
accent
#38EF73
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E3F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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