#2E620F#2E620F

#2E620F is a dark, vivid yellow-green. Relative luminance 0.094; OKLCH L 44.3% C 0.124 H 136.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2E620F
RGBrgb(46, 98, 15)
HSLhsl(98, 73%, 22%)
HSVhsv(98, 85%, 38%)
CMYKcmyk(53.1%, 0%, 84.7%, 61.6%)
CIE-LABlab(36.65, -32.61, 38.34)
CIE-LCHlch(36.65, 50.33, 130.38°)
OKLaboklab(44.31% -0.0907 0.0849)
OKLCHoklch(44.31% 0.124 136.9)
XYZxyz(5.5805, 9.3503, 1.9626)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E620F #430F62
analogous
#58620F #2E620F #0F6219
triadic
#2E620F #0F2E62 #620F2E
tetradic
#2E620F #0F5862 #430F62 #62190F
square
#2E620F #0F5862 #430F62 #62190F
split-complementary
#2E620F #190F62 #620F58
monochromatic
#0C1B04 #152D07 #2E620F #479717 #60CC1F

Accessibility & contrast

On white

7.32
#2E620F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2E620F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E620F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E620F#FFFFFF#000000##FFFFFF
##2E620F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#2B5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e620f;
/* rgb */ color: rgb(46, 98, 15);
/* oklch */ color: oklch(44.3% 0.124 136.9);
Tailwind
colors: {
  custom: {
    50: '#6d8f56',
    500: '#2e620f',
    950: '#000000',
  },
}
SCSS
$custom: #2e620f;
$custom-light: #6d8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2e620f",
  "rgb": {
    "r": 46,
    "g": 98,
    "b": 15
  },
  "hsl": {
    "h": 97.59,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.44307,
    "c": 0.12421,
    "h": 136.9
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#2E620F
secondary
#74329B
accent
#38F0AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E620F

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

Preview Lab → · Contrast checker → · Palette generator →

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