#2E4B13#2E4B13

#2E4B13 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.089 H 132.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2E4B13
RGBrgb(46, 75, 19)
HSLhsl(91, 60%, 18%)
HSVhsv(91, 75%, 29%)
CMYKcmyk(38.7%, 0%, 74.7%, 70.6%)
CIE-LABlab(28.54, -21.60, 28.73)
CIE-LCHlch(28.54, 35.95, 126.93°)
OKLaboklab(37.67% -0.0606 0.0655)
OKLCHoklch(37.67% 0.089 132.8)
XYZxyz(3.7603, 5.6599, 1.5103)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B13 #30134B
analogous
#4A4B13 #2E4B13 #134B14
triadic
#2E4B13 #132E4B #4B132E
tetradic
#2E4B13 #134A4B #30134B #4B1413
square
#2E4B13 #134A4B #30134B #4B1413
split-complementary
#2E4B13 #14134B #4B134A
monochromatic
#0F1806 #101A07 #2E4B13 #4C7C1F #6AAD2C

Accessibility & contrast

On white

9.85
#2E4B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E4B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B13
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B13#FFFFFF#000000##FFFFFF
##2E4B131.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450B
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#2E4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e4b13;
/* rgb */ color: rgb(46, 75, 19);
/* oklch */ color: oklch(37.7% 0.089 132.8);
Tailwind
colors: {
  custom: {
    50: '#697d54',
    500: '#2e4b13',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b13;
$custom-light: #697d54;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b13",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 19
  },
  "hsl": {
    "h": 91.071,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37665,
    "c": 0.08921,
    "h": 132.8
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#2E4B13
secondary
#5E3684
accent
#45E397
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4B13

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

Preview Lab → · Contrast checker → · Palette generator →

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