#2E4003#2E4003

#2E4003 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.085 H 125.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2E4003
RGBrgb(46, 64, 3)
HSLhsl(78, 91%, 13%)
HSVhsv(78, 95%, 25%)
CMYKcmyk(28.1%, 0%, 95.3%, 74.9%)
CIE-LABlab(24.49, -16.94, 31.50)
CIE-LCHlch(24.49, 35.77, 118.28°)
OKLaboklab(34.34% -0.0495 0.0686)
OKLCHoklch(34.34% 0.085 125.8)
XYZxyz(2.9766, 4.2542, 0.7504)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4003 #150340
analogous
#403303 #2E4003 #0F4003
triadic
#2E4003 #032E40 #40032E
tetradic
#2E4003 #034033 #150340 #40030F
square
#2E4003 #034033 #150340 #40030F
split-complementary
#2E4003 #030F40 #330340
monochromatic
#151D01 #151D01 #2E4003 #587A06 #82B508

Accessibility & contrast

On white

11.35
#2E4003 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E4003 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4003
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4003#FFFFFF#000000##FFFFFF
##2E40031.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#423A09
Tritanopia (blue-blind)
#313C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e4003;
/* rgb */ color: rgb(46, 64, 3);
/* oklch */ color: oklch(34.3% 0.085 125.8);
Tailwind
colors: {
  custom: {
    50: '#69754a',
    500: '#2e4003',
    950: '#000000',
  },
}
SCSS
$custom: #2e4003;
$custom-light: #69754a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4003",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 3
  },
  "hsl": {
    "h": 77.705,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34338,
    "c": 0.08454,
    "h": 125.8
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#2E4003
secondary
#3B1D82
accent
#29FF68
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2E4003

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

Preview Lab → · Contrast checker → · Palette generator →

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