#2E4603#2E4603

#2E4603 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.1% C 0.093 H 128.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2E4603
RGBrgb(46, 70, 3)
HSLhsl(81, 92%, 14%)
HSVhsv(81, 96%, 27%)
CMYKcmyk(34.3%, 0%, 95.7%, 72.5%)
CIE-LABlab(26.64, -20.14, 33.50)
CIE-LCHlch(26.64, 39.09, 121.02°)
OKLaboklab(36.09% -0.0581 0.0724)
OKLCHoklch(36.09% 0.093 128.7)
XYZxyz(3.3333, 4.9676, 0.8694)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4603 #1B0346
analogous
#463D03 #2E4603 #0C4603
triadic
#2E4603 #032E46 #46032E
tetradic
#2E4603 #03463D #1B0346 #46030C
square
#2E4603 #03463D #1B0346 #46030C
split-complementary
#2E4603 #030C46 #3D0346
monochromatic
#131D01 #131D01 #2E4603 #558106 #7BBB08

Accessibility & contrast

On white

10.53
#2E4603 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E4603 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4603
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4603#FFFFFF#000000##FFFFFF
##2E46031.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#473E0B
Tritanopia (blue-blind)
#30423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e4603;
/* rgb */ color: rgb(46, 70, 3);
/* oklch */ color: oklch(36.1% 0.093 128.7);
Tailwind
colors: {
  custom: {
    50: '#6a794b',
    500: '#2e4603',
    950: '#000000',
  },
}
SCSS
$custom: #2e4603;
$custom-light: #6a794b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4603",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 3
  },
  "hsl": {
    "h": 81.493,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.36085,
    "c": 0.09283,
    "h": 128.7
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#2E4603
secondary
#431D87
accent
#29FF76
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2E4603

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

Preview Lab → · Contrast checker → · Palette generator →

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