#2E4010#2E4010

#2E4010 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.075 H 127.6°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2E4010
RGBrgb(46, 64, 16)
HSLhsl(83, 60%, 16%)
HSVhsv(83, 75%, 25%)
CMYKcmyk(28.1%, 0%, 75%, 74.9%)
CIE-LABlab(24.59, -16.02, 26.03)
CIE-LCHlch(24.59, 30.56, 121.61°)
OKLaboklab(34.45% -0.0456 0.0593)
OKLCHoklch(34.45% 0.075 127.6)
XYZxyz(3.0536, 4.2850, 1.1563)
Luminance0.0428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4010 #221040
analogous
#403A10 #2E4010 #164010
triadic
#2E4010 #102E40 #40102E
tetradic
#2E4010 #10403A #221040 #401016
square
#2E4010 #10403A #221040 #401016
split-complementary
#2E4010 #101640 #3A1040
monochromatic
#121806 #121806 #2E4010 #51711C #74A228

Accessibility & contrast

On white

11.31
#2E4010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E4010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4010
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4010#FFFFFF#000000##FFFFFF
##2E40101.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B09
Deuteranopia (green-blind)
#413A14
Tritanopia (blue-blind)
#303D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e4010;
/* rgb */ color: rgb(46, 64, 16);
/* oklch */ color: oklch(34.4% 0.075 127.6);
Tailwind
colors: {
  custom: {
    50: '#697551',
    500: '#2e4010',
    950: '#000000',
  },
}
SCSS
$custom: #2e4010;
$custom-light: #697551;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4010",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 82.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34448,
    "c": 0.0748,
    "h": 127.6
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#2E4010
secondary
#4D327A
accent
#45E380
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E4010

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

Preview Lab → · Contrast checker → · Palette generator →

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