#2E4C13#2E4C13

#2E4C13 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.091 H 133.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2E4C13
RGBrgb(46, 76, 19)
HSLhsl(92, 60%, 19%)
HSVhsv(92, 75%, 30%)
CMYKcmyk(39.5%, 0%, 75%, 70.2%)
CIE-LABlab(28.89, -22.11, 29.11)
CIE-LCHlch(28.89, 36.55, 127.22°)
OKLaboklab(37.96% -0.062 0.0663)
OKLCHoklch(37.96% 0.091 133.1)
XYZxyz(3.8286, 5.7966, 1.5331)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C13 #31134C
analogous
#4A4C13 #2E4C13 #134C14
triadic
#2E4C13 #132E4C #4C132E
tetradic
#2E4C13 #134A4C #31134C #4C1413
square
#2E4C13 #134A4C #31134C #4C1413
split-complementary
#2E4C13 #14134C #4C134A
monochromatic
#0F1806 #101B07 #2E4C13 #4C7D1F #69AE2B

Accessibility & contrast

On white

9.72
#2E4C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2E4C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C13
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C13#FFFFFF#000000##FFFFFF
##2E4C131.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F460B
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#2E4941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e4c13;
/* rgb */ color: rgb(46, 76, 19);
/* oklch */ color: oklch(38.0% 0.091 133.1);
Tailwind
colors: {
  custom: {
    50: '#6a7e54',
    500: '#2e4c13',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c13;
$custom-light: #6a7e54;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c13",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 19
  },
  "hsl": {
    "h": 91.579,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37955,
    "c": 0.09073,
    "h": 133.1
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#2E4C13
secondary
#5F3685
accent
#45E398
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2E4C13

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

Preview Lab → · Contrast checker → · Palette generator →

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