#2E6313#2E6313

#2E6313 is a dark, vivid yellow-green. Relative luminance 0.096; OKLCH L 44.6% C 0.123 H 137.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2E6313
RGBrgb(46, 99, 19)
HSLhsl(100, 68%, 23%)
HSVhsv(100, 81%, 39%)
CMYKcmyk(53.5%, 0%, 80.8%, 61.2%)
CIE-LABlab(37.02, -32.77, 37.29)
CIE-LCHlch(37.02, 49.65, 131.31°)
OKLaboklab(44.62% -0.0908 0.0834)
OKLCHoklch(44.62% 0.123 137.5)
XYZxyz(5.7059, 9.5511, 2.1588)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6313 #481363
analogous
#566313 #2E6313 #136320
triadic
#2E6313 #132E63 #63132E
tetradic
#2E6313 #135663 #481363 #632013
square
#2E6313 #135663 #481363 #632013
split-complementary
#2E6313 #201363 #631356
monochromatic
#0C1A05 #163009 #2E6313 #46961D #5ECA27

Accessibility & contrast

On white

7.22
#2E6313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E6313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E6313
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6313#FFFFFF#000000##FFFFFF
##2E63131.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A02
Deuteranopia (green-blind)
#60551C
Tritanopia (blue-blind)
#2A5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e6313;
/* rgb */ color: rgb(46, 99, 19);
/* oklch */ color: oklch(44.6% 0.123 137.5);
Tailwind
colors: {
  custom: {
    50: '#6d9057',
    500: '#2e6313',
    950: '#000000',
  },
}
SCSS
$custom: #2e6313;
$custom-light: #6d9057;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6313",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 99.75,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44622,
    "c": 0.1233,
    "h": 137.5
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#2E6313
secondary
#79379B
accent
#3DEBB0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E6313

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

Preview Lab → · Contrast checker → · Palette generator →

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