#2E481E#2E481E

#2E481E is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.9% C 0.074 H 134.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2E481E
RGBrgb(46, 72, 30)
HSLhsl(97, 41%, 20%)
HSVhsv(97, 58%, 28%)
CMYKcmyk(36.1%, 0%, 58.3%, 71.8%)
CIE-LABlab(27.60, -18.80, 21.89)
CIE-LCHlch(27.60, 28.85, 130.66°)
OKLaboklab(36.94% -0.0519 0.0522)
OKLCHoklch(36.94% 0.074 134.9)
XYZxyz(3.6783, 5.3092, 2.0590)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E481E #381E48
analogous
#43481E #2E481E #1E4823
triadic
#2E481E #1E2E48 #481E2E
tetradic
#2E481E #1E4348 #381E48 #48231E
square
#2E481E #1E4348 #381E48 #48231E
split-complementary
#2E481E #231E48 #481E43
monochromatic
#0E1609 #121D0C #2E481E #4A7330 #659E42

Accessibility & contrast

On white

10.19
#2E481E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E481E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E481E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E481E#FFFFFF#000000##FFFFFF
##2E481E1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431A
Deuteranopia (green-blind)
#474021
Tritanopia (blue-blind)
#2E453E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e481e;
/* rgb */ color: rgb(46, 72, 30);
/* oklch */ color: oklch(36.9% 0.074 134.9);
Tailwind
colors: {
  custom: {
    50: '#687b5b',
    500: '#2e481e',
    950: '#000000',
  },
}
SCSS
$custom: #2e481e;
$custom-light: #687b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e481e",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 30
  },
  "hsl": {
    "h": 97.143,
    "s": 41.176,
    "l": 20
  },
  "oklch": {
    "l": 0.36941,
    "c": 0.0736,
    "h": 134.9
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#2E481E
secondary
#68457D
accent
#57D1A2
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2E481E

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

Preview Lab → · Contrast checker → · Palette generator →

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