#2E5F13#2E5F13

#2E5F13 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.5% C 0.118 H 137.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2E5F13
RGBrgb(46, 95, 19)
HSLhsl(99, 67%, 22%)
HSVhsv(99, 80%, 37%)
CMYKcmyk(51.6%, 0%, 80%, 62.7%)
CIE-LABlab(35.62, -31.04, 35.92)
CIE-LCHlch(35.62, 47.47, 130.83°)
OKLaboklab(43.47% -0.0862 0.0805)
OKLCHoklch(43.47% 0.118 137)
XYZxyz(5.3363, 8.8119, 2.0356)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F13 #44135F
analogous
#545F13 #2E5F13 #135F1E
triadic
#2E5F13 #132E5F #5F132E
tetradic
#2E5F13 #13545F #44135F #5F1E13
square
#2E5F13 #13545F #44135F #5F1E13
split-complementary
#2E5F13 #1E135F #5F1354
monochromatic
#0C1A05 #152C09 #2E5F13 #47921D #5FC527

Accessibility & contrast

On white

7.60
#2E5F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2E5F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5F13
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F13#FFFFFF#000000##FFFFFF
##2E5F131.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625604
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#2B5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5f13;
/* rgb */ color: rgb(46, 95, 19);
/* oklch */ color: oklch(43.5% 0.118 137.0);
Tailwind
colors: {
  custom: {
    50: '#6c8d57',
    500: '#2e5f13',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f13;
$custom-light: #6c8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f13",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 98.684,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43466,
    "c": 0.11793,
    "h": 137
  },
  "luminance": 0.08812
}

Semantic roles & 50–950 ramp

primary
#2E5F13
secondary
#753797
accent
#3EEAAD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5F13

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

Preview Lab → · Contrast checker → · Palette generator →

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