#2E460C#2E460C

#2E460C is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.1% C 0.087 H 129.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2E460C
RGBrgb(46, 70, 12)
HSLhsl(85, 71%, 16%)
HSVhsv(85, 83%, 27%)
CMYKcmyk(34.3%, 0%, 82.9%, 72.5%)
CIE-LABlab(26.70, -19.57, 29.97)
CIE-LCHlch(26.70, 35.79, 123.15°)
OKLaboklab(36.15% -0.0557 0.0669)
OKLCHoklch(36.15% 0.087 129.8)
XYZxyz(3.3832, 4.9876, 1.1322)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E460C #240C46
analogous
#46410C #2E460C #11460C
triadic
#2E460C #0C2E46 #460C2E
tetradic
#2E460C #0C4641 #240C46 #460C11
square
#2E460C #0C4641 #240C46 #460C11
split-complementary
#2E460C #0C1146 #410C46
monochromatic
#111A04 #111A04 #2E460C #507A15 #73AE1E

Accessibility & contrast

On white

10.51
#2E460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E460C
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E460C#FFFFFF#000000##FFFFFF
##2E460C1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4003
Deuteranopia (green-blind)
#463F12
Tritanopia (blue-blind)
#2F433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e460c;
/* rgb */ color: rgb(46, 70, 12);
/* oklch */ color: oklch(36.1% 0.087 129.8);
Tailwind
colors: {
  custom: {
    50: '#697950',
    500: '#2e460c',
    950: '#000000',
  },
}
SCSS
$custom: #2e460c;
$custom-light: #697950;
$custom-dark: #000000;
JSON
{
  "hex": "#2e460c",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 84.828,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36149,
    "c": 0.08704,
    "h": 129.8
  },
  "luminance": 0.04988
}

Semantic roles & 50–950 ramp

primary
#2E460C
secondary
#4F2C82
accent
#3AED84
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E460C

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

Preview Lab → · Contrast checker → · Palette generator →

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