#2E3F0F#2E3F0F

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

Color values

HEX#2E3F0F
RGBrgb(46, 63, 15)
HSLhsl(81, 62%, 15%)
HSVhsv(81, 76%, 25%)
CMYKcmyk(27%, 0%, 76.2%, 75.3%)
CIE-LABlab(24.23, -15.54, 26.13)
CIE-LCHlch(24.23, 30.41, 120.75°)
OKLaboklab(34.15% -0.0444 0.0594)
OKLCHoklch(34.15% 0.074 126.8)
XYZxyz(2.9904, 4.1703, 1.0992)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3F0F #200F3F
analogous
#3F380F #2E3F0F #163F0F
triadic
#2E3F0F #0F2E3F #3F0F2E
tetradic
#2E3F0F #0F3F38 #200F3F #3F0F16
square
#2E3F0F #0F3F38 #200F3F #3F0F16
split-complementary
#2E3F0F #0F163F #380F3F
monochromatic
#121906 #121906 #2E3F0F #52701B #76A227

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3F0F#FFFFFF#000000##FFFFFF
##2E3F0F1.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)
#433A08
Deuteranopia (green-blind)
#403913
Tritanopia (blue-blind)
#303C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e3f0f;
/* rgb */ color: rgb(46, 63, 15);
/* oklch */ color: oklch(34.1% 0.074 126.8);
Tailwind
colors: {
  custom: {
    50: '#697450',
    500: '#2e3f0f',
    950: '#000000',
  },
}
SCSS
$custom: #2e3f0f;
$custom-light: #697450;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3f0f",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 15
  },
  "hsl": {
    "h": 81.25,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34149,
    "c": 0.07413,
    "h": 126.8
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#2E3F0F
secondary
#4A3079
accent
#43E57C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E3F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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