#2E530F#2E530F

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

Color values

HEX#2E530F
RGBrgb(46, 83, 15)
HSLhsl(93, 69%, 19%)
HSVhsv(93, 82%, 33%)
CMYKcmyk(44.6%, 0%, 81.9%, 67.5%)
CIE-LABlab(31.35, -25.85, 33.30)
CIE-LCHlch(31.35, 42.15, 127.83°)
OKLaboklab(39.96% -0.0725 0.0744)
OKLCHoklch(39.96% 0.104 134.3)
XYZxyz(4.3061, 6.8016, 1.5378)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E530F #340F53
analogous
#50530F #2E530F #0F5312
triadic
#2E530F #0F2E53 #530F2E
tetradic
#2E530F #0F5053 #340F53 #53120F
square
#2E530F #0F5053 #340F53 #53120F
split-complementary
#2E530F #120F53 #530F50
monochromatic
#0E1A05 #111F06 #2E530F #4B8718 #67BB22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E530F#FFFFFF#000000##FFFFFF
##2E530F1.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)
#574C02
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#2E4F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e530f;
/* rgb */ color: rgb(46, 83, 15);
/* oklch */ color: oklch(40.0% 0.104 134.3);
Tailwind
colors: {
  custom: {
    50: '#6b8353',
    500: '#2e530f',
    950: '#000000',
  },
}
SCSS
$custom: #2e530f;
$custom-light: #6b8353;
$custom-dark: #000000;
JSON
{
  "hex": "#2e530f",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 92.647,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39955,
    "c": 0.10384,
    "h": 134.3
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#2E530F
secondary
#63318D
accent
#3CEC9C
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E530F

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

Preview Lab → · Contrast checker → · Palette generator →

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