#2E6310#2E6310

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

Color values

HEX#2E6310
RGBrgb(46, 99, 16)
HSLhsl(98, 72%, 23%)
HSVhsv(98, 84%, 39%)
CMYKcmyk(53.5%, 0%, 83.8%, 61.2%)
CIE-LABlab(37.01, -32.97, 38.34)
CIE-LCHlch(37.01, 50.57, 130.70°)
OKLaboklab(44.6% -0.0916 0.0851)
OKLCHoklch(44.6% 0.125 137.1)
XYZxyz(5.6819, 9.5415, 2.0324)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6310 #451063
analogous
#586310 #2E6310 #10631B
triadic
#2E6310 #102E63 #63102E
tetradic
#2E6310 #105863 #451063 #631B10
square
#2E6310 #105863 #451063 #631B10
split-complementary
#2E6310 #1B1063 #631058
monochromatic
#0C1A04 #162E07 #2E6310 #469819 #5FCC21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E6310#FFFFFF#000000##FFFFFF
##2E63101.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)
#60551A
Tritanopia (blue-blind)
#2B5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e6310;
/* rgb */ color: rgb(46, 99, 16);
/* oklch */ color: oklch(44.6% 0.125 137.1);
Tailwind
colors: {
  custom: {
    50: '#6d9056',
    500: '#2e6310',
    950: '#000000',
  },
}
SCSS
$custom: #2e6310;
$custom-light: #6d9056;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6310",
  "rgb": {
    "r": 46,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 98.313,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44602,
    "c": 0.125,
    "h": 137.1
  },
  "luminance": 0.09542
}

Semantic roles & 50–950 ramp

primary
#2E6310
secondary
#76339C
accent
#39EFAD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E6310

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

Preview Lab → · Contrast checker → · Palette generator →

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