#2E5D14#2E5D14

#2E5D14 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 42.9% C 0.115 H 136.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2E5D14
RGBrgb(46, 93, 20)
HSLhsl(99, 65%, 22%)
HSVhsv(99, 78%, 36%)
CMYKcmyk(50.5%, 0%, 78.5%, 63.5%)
CIE-LABlab(34.92, -30.08, 34.83)
CIE-LCHlch(34.92, 46.02, 130.81°)
OKLaboklab(42.9% -0.0835 0.0784)
OKLCHoklch(42.9% 0.115 136.8)
XYZxyz(5.1672, 8.4597, 2.0223)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5D14 #43145D
analogous
#535D14 #2E5D14 #145D1E
triadic
#2E5D14 #142E5D #5D142E
tetradic
#2E5D14 #14535D #43145D #5D1E14
square
#2E5D14 #14535D #43145D #5D1E14
split-complementary
#2E5D14 #1E145D #5D1453
monochromatic
#0C1905 #152B09 #2E5D14 #478F1F #60C22A

Accessibility & contrast

On white

7.80
#2E5D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2E5D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5D14
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5D14#FFFFFF#000000##FFFFFF
##2E5D141.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605507
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#2B594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5d14;
/* rgb */ color: rgb(46, 93, 20);
/* oklch */ color: oklch(42.9% 0.115 136.8);
Tailwind
colors: {
  custom: {
    50: '#6c8b57',
    500: '#2e5d14',
    950: '#000000',
  },
}
SCSS
$custom: #2e5d14;
$custom-light: #6c8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5d14",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 20
  },
  "hsl": {
    "h": 98.63,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42896,
    "c": 0.11454,
    "h": 136.8
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#2E5D14
secondary
#743895
accent
#40E8AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5D14

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

Preview Lab → · Contrast checker → · Palette generator →

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