#2E460A#2E460A

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

Color values

HEX#2E460A
RGBrgb(46, 70, 10)
HSLhsl(84, 75%, 16%)
HSVhsv(84, 86%, 27%)
CMYKcmyk(34.3%, 0%, 85.7%, 72.5%)
CIE-LABlab(26.69, -19.71, 30.74)
CIE-LCHlch(26.69, 36.51, 122.66°)
OKLaboklab(36.13% -0.0563 0.0681)
OKLCHoklch(36.13% 0.088 129.6)
XYZxyz(3.3716, 4.9830, 1.0713)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E460A #220A46
analogous
#46400A #2E460A #10460A
triadic
#2E460A #0A2E46 #460A2E
tetradic
#2E460A #0A4640 #220A46 #460A10
square
#2E460A #0A4640 #220A46 #460A10
split-complementary
#2E460A #0A1046 #400A46
monochromatic
#121B04 #121B04 #2E460A #517C12 #74B119

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E460A#FFFFFF#000000##FFFFFF
##2E460A1.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)
#4A4000
Deuteranopia (green-blind)
#463F10
Tritanopia (blue-blind)
#30433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e460a;
/* rgb */ color: rgb(46, 70, 10);
/* oklch */ color: oklch(36.1% 0.088 129.6);
Tailwind
colors: {
  custom: {
    50: '#69794f',
    500: '#2e460a',
    950: '#000000',
  },
}
SCSS
$custom: #2e460a;
$custom-light: #69794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e460a",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 10
  },
  "hsl": {
    "h": 84,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36134,
    "c": 0.08835,
    "h": 129.6
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#2E460A
secondary
#4D2983
accent
#36F281
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E460A

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

Preview Lab → · Contrast checker → · Palette generator →

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