#2E4317#2E4317

#2E4317 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.073 H 130.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2E4317
RGBrgb(46, 67, 23)
HSLhsl(89, 49%, 18%)
HSVhsv(89, 66%, 26%)
CMYKcmyk(31.3%, 0%, 65.7%, 73.7%)
CIE-LABlab(25.73, -16.96, 23.63)
CIE-LCHlch(25.73, 29.09, 125.67°)
OKLaboklab(35.4% -0.0475 0.0552)
OKLCHoklch(35.4% 0.073 130.7)
XYZxyz(3.2885, 4.6569, 1.5361)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4317 #2C1743
analogous
#434217 #2E4317 #184317
triadic
#2E4317 #172E43 #43172E
tetradic
#2E4317 #174342 #2C1743 #431718
square
#2E4317 #174342 #2C1743 #431718
split-complementary
#2E4317 #171843 #421743
monochromatic
#101708 #101708 #2E4317 #4D7127 #6D9E36

Accessibility & contrast

On white

10.87
#2E4317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E4317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4317
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4317#FFFFFF#000000##FFFFFF
##2E43171.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E12
Deuteranopia (green-blind)
#433C1A
Tritanopia (blue-blind)
#2F4039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e4317;
/* rgb */ color: rgb(46, 67, 23);
/* oklch */ color: oklch(35.4% 0.073 130.7);
Tailwind
colors: {
  custom: {
    50: '#687756',
    500: '#2e4317',
    950: '#000000',
  },
}
SCSS
$custom: #2e4317;
$custom-light: #687756;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4317",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 23
  },
  "hsl": {
    "h": 88.636,
    "s": 48.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35398,
    "c": 0.07283,
    "h": 130.7
  },
  "luminance": 0.04657
}

Semantic roles & 50–950 ramp

primary
#2E4317
secondary
#593C7A
accent
#4FD891
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2E4317

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

Preview Lab → · Contrast checker → · Palette generator →

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