#2E530E#2E530E

#2E530E is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.104 H 134.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2E530E
RGBrgb(46, 83, 14)
HSLhsl(92, 71%, 19%)
HSVhsv(92, 83%, 33%)
CMYKcmyk(44.6%, 0%, 83.1%, 67.5%)
CIE-LABlab(31.34, -25.92, 33.67)
CIE-LCHlch(31.34, 42.49, 127.59°)
OKLaboklab(39.95% -0.0727 0.075)
OKLCHoklch(39.95% 0.104 134.1)
XYZxyz(4.2992, 6.7988, 1.5012)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E530E #330E53
analogous
#51530E #2E530E #0E5311
triadic
#2E530E #0E2E53 #530E2E
tetradic
#2E530E #0E5153 #330E53 #53110E
square
#2E530E #0E5153 #330E53 #53110E
split-complementary
#2E530E #110E53 #530E51
monochromatic
#0F1A04 #111F05 #2E530E #4B8717 #68BC20

Accessibility & contrast

On white

8.90
#2E530E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E530E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E530E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E530E#FFFFFF#000000##FFFFFF
##2E530E1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C01
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#2E4F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e530e;
/* rgb */ color: rgb(46, 83, 14);
/* oklch */ color: oklch(39.9% 0.104 134.1);
Tailwind
colors: {
  custom: {
    50: '#6b8353',
    500: '#2e530e',
    950: '#000000',
  },
}
SCSS
$custom: #2e530e;
$custom-light: #6b8353;
$custom-dark: #000000;
JSON
{
  "hex": "#2e530e",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 14
  },
  "hsl": {
    "h": 92.174,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39947,
    "c": 0.10446,
    "h": 134.1
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#2E530E
secondary
#622F8D
accent
#3AEE9A
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2E530E

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

Preview Lab → · Contrast checker → · Palette generator →

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