#2E5F14#2E5F14

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

Color values

HEX#2E5F14
RGBrgb(46, 95, 20)
HSLhsl(99, 65%, 23%)
HSVhsv(99, 79%, 37%)
CMYKcmyk(51.6%, 0%, 78.9%, 62.7%)
CIE-LABlab(35.63, -30.97, 35.53)
CIE-LCHlch(35.63, 47.13, 131.07°)
OKLaboklab(43.47% -0.0859 0.0799)
OKLCHoklch(43.47% 0.117 137.1)
XYZxyz(5.3450, 8.8154, 2.0816)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F14 #45145F
analogous
#535F14 #2E5F14 #145F20
triadic
#2E5F14 #142E5F #5F142E
tetradic
#2E5F14 #14535F #45145F #5F2014
square
#2E5F14 #14535F #45145F #5F2014
split-complementary
#2E5F14 #20145F #5F1453
monochromatic
#0C1905 #162C09 #2E5F14 #46921F #5FC429

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5F14#FFFFFF#000000##FFFFFF
##2E5F141.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)
#625606
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#2B5B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5f14;
/* rgb */ color: rgb(46, 95, 20);
/* oklch */ color: oklch(43.5% 0.117 137.1);
Tailwind
colors: {
  custom: {
    50: '#6c8d57',
    500: '#2e5f14',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f14;
$custom-light: #6c8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f14",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 99.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43474,
    "c": 0.11729,
    "h": 137.1
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

primary
#2E5F14
secondary
#763897
accent
#40E8AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5F14

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

Preview Lab → · Contrast checker → · Palette generator →

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