#2E4214#2E4214

#2E4214 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.074 H 129.5°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2E4214
RGBrgb(46, 66, 20)
HSLhsl(86, 53%, 17%)
HSVhsv(86, 70%, 26%)
CMYKcmyk(30.3%, 0%, 69.7%, 74.1%)
CIE-LABlab(25.34, -16.74, 24.80)
CIE-LCHlch(25.34, 29.92, 124.02°)
OKLaboklab(35.07% -0.0472 0.0573)
OKLCHoklch(35.07% 0.074 129.5)
XYZxyz(3.2012, 4.5277, 1.3670)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4214 #281442
analogous
#423F14 #2E4214 #174214
triadic
#2E4214 #142E42 #42142E
tetradic
#2E4214 #14423F #281442 #421417
square
#2E4214 #14423F #281442 #421417
split-complementary
#2E4214 #141742 #3F1442
monochromatic
#101707 #101707 #2E4214 #4F7122 #6FA030

Accessibility & contrast

On white

11.02
#2E4214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E4214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4214
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4214#FFFFFF#000000##FFFFFF
##2E42141.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0F
Deuteranopia (green-blind)
#433C17
Tritanopia (blue-blind)
#2F3F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e4214;
/* rgb */ color: rgb(46, 66, 20);
/* oklch */ color: oklch(35.1% 0.074 129.5);
Tailwind
colors: {
  custom: {
    50: '#687654',
    500: '#2e4214',
    950: '#000000',
  },
}
SCSS
$custom: #2e4214;
$custom-light: #687654;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4214",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 20
  },
  "hsl": {
    "h": 86.087,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35071,
    "c": 0.07423,
    "h": 129.5
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#2E4214
secondary
#55387A
accent
#4BDD8A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E4214

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

Preview Lab → · Contrast checker → · Palette generator →

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