#2E5F0E#2E5F0E

#2E5F0E is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.4% C 0.121 H 136.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2E5F0E
RGBrgb(46, 95, 14)
HSLhsl(96, 74%, 21%)
HSVhsv(96, 85%, 37%)
CMYKcmyk(51.6%, 0%, 85.3%, 62.7%)
CIE-LABlab(35.59, -31.37, 37.68)
CIE-LCHlch(35.59, 49.03, 129.78°)
OKLaboklab(43.43% -0.0874 0.0834)
OKLCHoklch(43.43% 0.121 136.4)
XYZxyz(5.2980, 8.7966, 1.8341)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F0E #3F0E5F
analogous
#575F0E #2E5F0E #0E5F17
triadic
#2E5F0E #0E2E5F #5F0E2E
tetradic
#2E5F0E #0E575F #3F0E5F #5F170E
square
#2E5F0E #0E575F #3F0E5F #5F170E
split-complementary
#2E5F0E #170E5F #5F0E57
monochromatic
#0D1B04 #142A06 #2E5F0E #489416 #62CA1E

Accessibility & contrast

On white

7.61
#2E5F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2E5F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5F0E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F0E#FFFFFF#000000##FFFFFF
##2E5F0E1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#2C5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5f0e;
/* rgb */ color: rgb(46, 95, 14);
/* oklch */ color: oklch(43.4% 0.121 136.4);
Tailwind
colors: {
  custom: {
    50: '#6d8d55',
    500: '#2e5f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f0e;
$custom-light: #6d8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f0e",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 96.296,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43432,
    "c": 0.12079,
    "h": 136.4
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#2E5F0E
secondary
#6F3099
accent
#37F1A7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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