#2E5B0E#2E5B0E

#2E5B0E is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.3% C 0.115 H 135.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2E5B0E
RGBrgb(46, 91, 14)
HSLhsl(95, 73%, 21%)
HSVhsv(95, 85%, 36%)
CMYKcmyk(49.5%, 0%, 84.6%, 64.3%)
CIE-LABlab(34.18, -29.61, 36.36)
CIE-LCHlch(34.18, 46.89, 129.15°)
OKLaboklab(42.27% -0.0827 0.0806)
OKLCHoklch(42.27% 0.115 135.7)
XYZxyz(4.9469, 8.0944, 1.7171)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5B0E #3B0E5B
analogous
#545B0E #2E5B0E #0E5B14
triadic
#2E5B0E #0E2E5B #5B0E2E
tetradic
#2E5B0E #0E545B #3B0E5B #5B140E
square
#2E5B0E #0E545B #3B0E5B #5B140E
split-complementary
#2E5B0E #140E5B #5B0E54
monochromatic
#0D1B04 #132606 #2E5B0E #499016 #64C51E

Accessibility & contrast

On white

8.02
#2E5B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E5B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5B0E
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5B0E#FFFFFF#000000##FFFFFF
##2E5B0E1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#594F17
Tritanopia (blue-blind)
#2C574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5b0e;
/* rgb */ color: rgb(46, 91, 14);
/* oklch */ color: oklch(42.3% 0.115 135.7);
Tailwind
colors: {
  custom: {
    50: '#6c8a54',
    500: '#2e5b0e',
    950: '#000000',
  },
}
SCSS
$custom: #2e5b0e;
$custom-light: #6c8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5b0e",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 14
  },
  "hsl": {
    "h": 95.065,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42272,
    "c": 0.11546,
    "h": 135.7
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#2E5B0E
secondary
#6B3095
accent
#38F0A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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