#2E4F19#2E4F19

#2E4F19 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.9% C 0.090 H 135.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2E4F19
RGBrgb(46, 79, 25)
HSLhsl(97, 52%, 20%)
HSVhsv(97, 68%, 31%)
CMYKcmyk(41.8%, 0%, 68.4%, 69%)
CIE-LABlab(30.02, -23.02, 27.39)
CIE-LCHlch(30.02, 35.78, 130.05°)
OKLaboklab(38.89% -0.0639 0.0635)
OKLCHoklch(38.89% 0.09 135.2)
XYZxyz(4.0981, 6.2428, 1.9086)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F19 #3A194F
analogous
#494F19 #2E4F19 #194F1F
triadic
#2E4F19 #192E4F #4F192E
tetradic
#2E4F19 #19494F #3A194F #4F1F19
square
#2E4F19 #19494F #3A194F #4F1F19
split-complementary
#2E4F19 #1F194F #4F1949
monochromatic
#0E1707 #13210A #2E4F19 #497D28 #64AC36

Accessibility & contrast

On white

9.34
#2E4F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2E4F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F19
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F19#FFFFFF#000000##FFFFFF
##2E4F191.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524813
Deuteranopia (green-blind)
#4D461D
Tritanopia (blue-blind)
#2D4C44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4f19;
/* rgb */ color: rgb(46, 79, 25);
/* oklch */ color: oklch(38.9% 0.090 135.2);
Tailwind
colors: {
  custom: {
    50: '#6a8058',
    500: '#2e4f19',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f19;
$custom-light: #6a8058;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f19",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 96.667,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38891,
    "c": 0.09009,
    "h": 135.2
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#2E4F19
secondary
#6A3E85
accent
#4CDBA4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2E4F19

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

Preview Lab → · Contrast checker → · Palette generator →

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