#2E460B#2E460B

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

Color values

HEX#2E460B
RGBrgb(46, 70, 11)
HSLhsl(84, 73%, 16%)
HSVhsv(84, 84%, 27%)
CMYKcmyk(34.3%, 0%, 84.3%, 72.5%)
CIE-LABlab(26.69, -19.64, 30.36)
CIE-LCHlch(26.69, 36.16, 122.90°)
OKLaboklab(36.14% -0.056 0.0675)
OKLCHoklch(36.14% 0.088 129.7)
XYZxyz(3.3773, 4.9852, 1.1008)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E460B #230B46
analogous
#46400B #2E460B #10460B
triadic
#2E460B #0B2E46 #460B2E
tetradic
#2E460B #0B4640 #230B46 #460B10
square
#2E460B #0B4640 #230B46 #460B10
split-complementary
#2E460B #0B1046 #400B46
monochromatic
#111A04 #111A04 #2E460B #517B13 #74B01C

Accessibility & contrast

On white

10.52
#2E460B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E460B
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E460B#FFFFFF#000000##FFFFFF
##2E460B1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4002
Deuteranopia (green-blind)
#463F11
Tritanopia (blue-blind)
#30433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e460b;
/* rgb */ color: rgb(46, 70, 11);
/* oklch */ color: oklch(36.1% 0.088 129.7);
Tailwind
colors: {
  custom: {
    50: '#69794f',
    500: '#2e460b',
    950: '#000000',
  },
}
SCSS
$custom: #2e460b;
$custom-light: #69794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e460b",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 84.407,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36142,
    "c": 0.08771,
    "h": 129.7
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#2E460B
secondary
#4E2A82
accent
#38F083
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E460B

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

Preview Lab → · Contrast checker → · Palette generator →

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