#2E3612#2E3612

#2E3612 is a dark, muted yellow-green. Relative luminance 0.033; OKLCH L 31.6% C 0.057 H 120.3°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#2E3612
RGBrgb(46, 54, 18)
HSLhsl(73, 50%, 14%)
HSVhsv(73, 67%, 21%)
CMYKcmyk(14.8%, 0%, 66.7%, 78.8%)
CIE-LABlab(21.07, -9.99, 21.11)
CIE-LCHlch(21.07, 23.35, 115.33°)
OKLaboklab(31.61% -0.0287 0.0492)
OKLCHoklch(31.61% 0.057 120.3)
XYZxyz(2.5551, 3.2629, 1.0673)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3612 #1A1236
analogous
#362C12 #2E3612 #1C3612
triadic
#2E3612 #122E36 #36122E
tetradic
#2E3612 #12362C #1A1236 #36121C
square
#2E3612 #12362C #1A1236 #36121C
split-complementary
#2E3612 #121C36 #2C1236
monochromatic
#141708 #141708 #2E3612 #556421 #7C9231

Accessibility & contrast

On white

12.71
#2E3612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2E3612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3612
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3612#FFFFFF#000000##FFFFFF
##2E36121.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330E
Deuteranopia (green-blind)
#393314
Tritanopia (blue-blind)
#31332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e3612;
/* rgb */ color: rgb(46, 54, 18);
/* oklch */ color: oklch(31.6% 0.057 120.3);
Tailwind
colors: {
  custom: {
    50: '#686d51',
    500: '#2e3612',
    950: '#000000',
  },
}
SCSS
$custom: #2e3612;
$custom-light: #686d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3612",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 18
  },
  "hsl": {
    "h": 73.333,
    "s": 50,
    "l": 14.118
  },
  "oklch": {
    "l": 0.3161,
    "c": 0.05691,
    "h": 120.3
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#2E3612
secondary
#42356F
accent
#4EDA6D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2E3612

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

Preview Lab → · Contrast checker → · Palette generator →

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