#2E5F11#2E5F11

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

Color values

HEX#2E5F11
RGBrgb(46, 95, 17)
HSLhsl(98, 70%, 22%)
HSVhsv(98, 82%, 37%)
CMYKcmyk(51.6%, 0%, 82.1%, 62.7%)
CIE-LABlab(35.61, -31.18, 36.66)
CIE-LCHlch(35.61, 48.12, 130.39°)
OKLaboklab(43.45% -0.0867 0.0817)
OKLCHoklch(43.45% 0.119 136.7)
XYZxyz(5.3199, 8.8054, 1.9495)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F11 #42115F
analogous
#555F11 #2E5F11 #115F1B
triadic
#2E5F11 #112E5F #5F112E
tetradic
#2E5F11 #11555F #42115F #5F1B11
square
#2E5F11 #11555F #42115F #5F1B11
split-complementary
#2E5F11 #1B115F #5F1155
monochromatic
#0D1A05 #152B08 #2E5F11 #47931A #60C724

Accessibility & contrast

On white

7.61
#2E5F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5F11
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F11#FFFFFF#000000##FFFFFF
##2E5F111.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e5f11;
/* rgb */ color: rgb(46, 95, 17);
/* oklch */ color: oklch(43.5% 0.119 136.7);
Tailwind
colors: {
  custom: {
    50: '#6c8d56',
    500: '#2e5f11',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f11;
$custom-light: #6c8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f11",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 97.692,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43452,
    "c": 0.11914,
    "h": 136.7
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#2E5F11
secondary
#733498
accent
#3BECAB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5F11

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

Preview Lab → · Contrast checker → · Palette generator →

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