#2E501C#2E501C

#2E501C is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.2% C 0.089 H 136.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2E501C
RGBrgb(46, 80, 28)
HSLhsl(99, 48%, 21%)
HSVhsv(99, 65%, 31%)
CMYKcmyk(42.5%, 0%, 65%, 68.6%)
CIE-LABlab(30.40, -23.18, 26.27)
CIE-LCHlch(30.40, 35.03, 131.43°)
OKLaboklab(39.22% -0.0641 0.0615)
OKLCHoklch(39.22% 0.089 136.2)
XYZxyz(4.2049, 6.4018, 2.1125)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E501C #3E1C50
analogous
#48501C #2E501C #1C5024
triadic
#2E501C #1C2E50 #501C2E
tetradic
#2E501C #1C4850 #3E1C50 #50241C
square
#2E501C #1C4850 #3E1C50 #50241C
split-complementary
#2E501C #241C50 #501C48
monochromatic
#0D1708 #14230C #2E501C #487D2C #62AB3C

Accessibility & contrast

On white

9.21
#2E501C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E501C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E501C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E501C#FFFFFF#000000##FFFFFF
##2E501C1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534916
Deuteranopia (green-blind)
#4E4720
Tritanopia (blue-blind)
#2D4D45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e501c;
/* rgb */ color: rgb(46, 80, 28);
/* oklch */ color: oklch(39.2% 0.089 136.2);
Tailwind
colors: {
  custom: {
    50: '#69815a',
    500: '#2e501c',
    950: '#000000',
  },
}
SCSS
$custom: #2e501c;
$custom-light: #69815a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e501c",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 28
  },
  "hsl": {
    "h": 99.231,
    "s": 48.148,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39218,
    "c": 0.08881,
    "h": 136.2
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#2E501C
secondary
#6E4286
accent
#50D8A9
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2E501C

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

Preview Lab → · Contrast checker → · Palette generator →

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