#2E4C10#2E4C10

#2E4C10 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.093 H 132.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2E4C10
RGBrgb(46, 76, 16)
HSLhsl(90, 65%, 18%)
HSVhsv(90, 79%, 30%)
CMYKcmyk(39.5%, 0%, 78.9%, 70.2%)
CIE-LABlab(28.87, -22.36, 30.43)
CIE-LCHlch(28.87, 37.76, 126.31°)
OKLaboklab(37.93% -0.0629 0.0685)
OKLCHoklch(37.93% 0.093 132.6)
XYZxyz(3.8046, 5.7870, 1.4066)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C10 #2E104C
analogous
#4C4C10 #2E4C10 #104C10
triadic
#2E4C10 #102E4C #4C102E
tetradic
#2E4C10 #104C4C #2E104C #4C1010
square
#2E4C10 #104C4C #2E104C #4C1010
split-complementary
#2E4C10 #10104C #4C104C
monochromatic
#0F1905 #0F1905 #2E4C10 #4D7F1B #6BB125

Accessibility & contrast

On white

9.73
#2E4C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2E4C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C10
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C10#FFFFFF#000000##FFFFFF
##2E4C101.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4606
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#2E4940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e4c10;
/* rgb */ color: rgb(46, 76, 16);
/* oklch */ color: oklch(37.9% 0.093 132.6);
Tailwind
colors: {
  custom: {
    50: '#6a7e53',
    500: '#2e4c10',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c10;
$custom-light: #6a7e53;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c10",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 90,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37927,
    "c": 0.09305,
    "h": 132.6
  },
  "luminance": 0.05787
}

Semantic roles & 50–950 ramp

primary
#2E4C10
secondary
#5C3286
accent
#40E894
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2E4C10

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

Preview Lab → · Contrast checker → · Palette generator →

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