#2E4215#2E4215

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

Color values

HEX#2E4215
RGBrgb(46, 66, 21)
HSLhsl(87, 52%, 17%)
HSVhsv(87, 68%, 26%)
CMYKcmyk(30.3%, 0%, 68.2%, 74.1%)
CIE-LABlab(25.36, -16.63, 24.28)
CIE-LCHlch(25.36, 29.43, 124.41°)
OKLaboklab(35.08% -0.0468 0.0564)
OKLCHoklch(35.08% 0.073 129.7)
XYZxyz(3.2103, 4.5313, 1.4148)
Luminance0.0453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4215 #291542
analogous
#424015 #2E4215 #184215
triadic
#2E4215 #152E42 #42152E
tetradic
#2E4215 #154240 #291542 #421518
square
#2E4215 #154240 #291542 #421518
split-complementary
#2E4215 #151842 #401542
monochromatic
#101707 #101707 #2E4215 #4E7024 #6F9F33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4215#FFFFFF#000000##FFFFFF
##2E42151.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)
#453D10
Deuteranopia (green-blind)
#423C18
Tritanopia (blue-blind)
#2F3F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e4215;
/* rgb */ color: rgb(46, 66, 21);
/* oklch */ color: oklch(35.1% 0.073 129.7);
Tailwind
colors: {
  custom: {
    50: '#687654',
    500: '#2e4215',
    950: '#000000',
  },
}
SCSS
$custom: #2e4215;
$custom-light: #687654;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4215",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 21
  },
  "hsl": {
    "h": 86.667,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35083,
    "c": 0.07324,
    "h": 129.7
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#2E4215
secondary
#56397A
accent
#4DDB8C
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E4215

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

Preview Lab → · Contrast checker → · Palette generator →

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