#2E630E#2E630E

#2E630E is a dark, vivid yellow-green. Relative luminance 0.095; OKLCH L 44.6% C 0.126 H 136.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2E630E
RGBrgb(46, 99, 14)
HSLhsl(97, 75%, 22%)
HSVhsv(97, 86%, 39%)
CMYKcmyk(53.5%, 0%, 85.9%, 61.2%)
CIE-LABlab(37.00, -33.09, 38.98)
CIE-LCHlch(37.00, 51.13, 130.33°)
OKLaboklab(44.59% -0.092 0.0861)
OKLCHoklch(44.59% 0.126 136.9)
XYZxyz(5.6676, 9.5358, 1.9573)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E630E #430E63
analogous
#59630E #2E630E #0E6319
triadic
#2E630E #0E2E63 #630E2E
tetradic
#2E630E #0E5963 #430E63 #63190E
square
#2E630E #0E5963 #430E63 #63190E
split-complementary
#2E630E #190E63 #630E59
monochromatic
#0C1B04 #152D06 #2E630E #479916 #60CE1D

Accessibility & contrast

On white

7.22
#2E630E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E630E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E630E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E630E#FFFFFF#000000##FFFFFF
##2E630E1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#605518
Tritanopia (blue-blind)
#2B5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e630e;
/* rgb */ color: rgb(46, 99, 14);
/* oklch */ color: oklch(44.6% 0.126 136.9);
Tailwind
colors: {
  custom: {
    50: '#6d9055',
    500: '#2e630e',
    950: '#000000',
  },
}
SCSS
$custom: #2e630e;
$custom-light: #6d9055;
$custom-dark: #000000;
JSON
{
  "hex": "#2e630e",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 14
  },
  "hsl": {
    "h": 97.412,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4459,
    "c": 0.12602,
    "h": 136.9
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#2E630E
secondary
#74309C
accent
#36F2AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E630E

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

Preview Lab → · Contrast checker → · Palette generator →

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