#2E5C0D#2E5C0D

#2E5C0D is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.6% C 0.117 H 135.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2E5C0D
RGBrgb(46, 92, 13)
HSLhsl(95, 75%, 21%)
HSVhsv(95, 86%, 36%)
CMYKcmyk(50%, 0%, 85.9%, 63.9%)
CIE-LABlab(34.53, -30.11, 37.02)
CIE-LCHlch(34.53, 47.72, 129.12°)
OKLaboklab(42.56% -0.0841 0.0818)
OKLCHoklch(42.56% 0.117 135.8)
XYZxyz(5.0264, 8.2639, 1.7109)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5C0D #3B0D5C
analogous
#555C0D #2E5C0D #0D5C14
triadic
#2E5C0D #0D2E5C #5C0D2E
tetradic
#2E5C0D #0D555C #3B0D5C #5C140D
square
#2E5C0D #0D555C #3B0D5C #5C140D
split-complementary
#2E5C0D #140D5C #5C0D55
monochromatic
#0D1B04 #132605 #2E5C0D #499215 #64C71C

Accessibility & contrast

On white

7.92
#2E5C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2E5C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5C0D
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5C0D#FFFFFF#000000##FFFFFF
##2E5C0D1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#2C584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5c0d;
/* rgb */ color: rgb(46, 92, 13);
/* oklch */ color: oklch(42.6% 0.117 135.8);
Tailwind
colors: {
  custom: {
    50: '#6c8a54',
    500: '#2e5c0d',
    950: '#000000',
  },
}
SCSS
$custom: #2e5c0d;
$custom-light: #6c8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5c0d",
  "rgb": {
    "r": 46,
    "g": 92,
    "b": 13
  },
  "hsl": {
    "h": 94.937,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42556,
    "c": 0.11732,
    "h": 135.8
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#2E5C0D
secondary
#6B2F96
accent
#36F2A3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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