#2E4F10#2E4F10

#2E4F10 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.097 H 133.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2E4F10
RGBrgb(46, 79, 16)
HSLhsl(91, 66%, 19%)
HSVhsv(91, 80%, 31%)
CMYKcmyk(41.8%, 0%, 79.7%, 69%)
CIE-LABlab(29.94, -23.85, 31.50)
CIE-LCHlch(29.94, 39.51, 127.13°)
OKLaboklab(38.8% -0.067 0.0708)
OKLCHoklch(38.8% 0.097 133.4)
XYZxyz(4.0162, 6.2100, 1.4772)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F10 #31104F
analogous
#4D4F10 #2E4F10 #104F11
triadic
#2E4F10 #102E4F #4F102E
tetradic
#2E4F10 #104D4F #31104F #4F1110
square
#2E4F10 #104D4F #31104F #4F1110
split-complementary
#2E4F10 #11104F #4F104D
monochromatic
#0F1905 #101C06 #2E4F10 #4C821A #69B525

Accessibility & contrast

On white

9.37
#2E4F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E4F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F10
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F10#FFFFFF#000000##FFFFFF
##2E4F101.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524805
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#2E4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4f10;
/* rgb */ color: rgb(46, 79, 16);
/* oklch */ color: oklch(38.8% 0.097 133.4);
Tailwind
colors: {
  custom: {
    50: '#6a8053',
    500: '#2e4f10',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f10;
$custom-light: #6a8053;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f10",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 91.429,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38799,
    "c": 0.09744,
    "h": 133.4
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#2E4F10
secondary
#5F3289
accent
#3FE998
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E4F10

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

Preview Lab → · Contrast checker → · Palette generator →

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