#2E4415#2E4415

#2E4415 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.076 H 130.6°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#2E4415
RGBrgb(46, 68, 21)
HSLhsl(88, 53%, 17%)
HSVhsv(88, 69%, 27%)
CMYKcmyk(32.4%, 0%, 69.1%, 73.3%)
CIE-LABlab(26.07, -17.73, 25.07)
CIE-LCHlch(26.07, 30.71, 125.26°)
OKLaboklab(35.66% -0.0498 0.058)
OKLCHoklch(35.66% 0.076 130.6)
XYZxyz(3.3292, 4.7691, 1.4545)
Luminance0.0477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4415 #2B1544
analogous
#444215 #2E4415 #174415
triadic
#2E4415 #152E44 #44152E
tetradic
#2E4415 #154442 #2B1544 #441517
square
#2E4415 #154442 #2B1544 #441517
split-complementary
#2E4415 #151744 #421544
monochromatic
#101707 #101707 #2E4415 #4E7323 #6DA232

Accessibility & contrast

On white

10.75
#2E4415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E4415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4415
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4415#FFFFFF#000000##FFFFFF
##2E44151.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F10
Deuteranopia (green-blind)
#443D18
Tritanopia (blue-blind)
#2F413A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e4415;
/* rgb */ color: rgb(46, 68, 21);
/* oklch */ color: oklch(35.7% 0.076 130.6);
Tailwind
colors: {
  custom: {
    50: '#697854',
    500: '#2e4415',
    950: '#000000',
  },
}
SCSS
$custom: #2e4415;
$custom-light: #697854;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4415",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 21
  },
  "hsl": {
    "h": 88.085,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3566,
    "c": 0.07647,
    "h": 130.6
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#2E4415
secondary
#58397C
accent
#4CDC8F
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2E4415

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

Preview Lab → · Contrast checker → · Palette generator →

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