#2E5810#2E5810

#2E5810 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.4% C 0.110 H 135.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2E5810
RGBrgb(46, 88, 16)
HSLhsl(95, 69%, 20%)
HSVhsv(95, 82%, 35%)
CMYKcmyk(47.7%, 0%, 81.8%, 65.5%)
CIE-LABlab(33.13, -28.12, 34.64)
CIE-LCHlch(33.13, 44.61, 129.07°)
OKLaboklab(41.42% -0.0785 0.0773)
OKLCHoklch(41.42% 0.11 135.4)
XYZxyz(4.7099, 7.5974, 1.7084)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5810 #3A1058
analogous
#525810 #2E5810 #105816
triadic
#2E5810 #102E58 #58102E
tetradic
#2E5810 #105258 #3A1058 #581610
square
#2E5810 #105258 #3A1058 #581610
split-complementary
#2E5810 #161058 #581052
monochromatic
#0E1A05 #132407 #2E5810 #498C19 #64C023

Accessibility & contrast

On white

8.33
#2E5810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2E5810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5810
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5810#FFFFFF#000000##FFFFFF
##2E58101.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5002
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#2D544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e5810;
/* rgb */ color: rgb(46, 88, 16);
/* oklch */ color: oklch(41.4% 0.110 135.4);
Tailwind
colors: {
  custom: {
    50: '#6b8754',
    500: '#2e5810',
    950: '#000000',
  },
}
SCSS
$custom: #2e5810;
$custom-light: #6b8754;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5810",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 95,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41415,
    "c": 0.11021,
    "h": 135.4
  },
  "luminance": 0.07598
}

Semantic roles & 50–950 ramp

primary
#2E5810
secondary
#6A3291
accent
#3CECA3
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5810

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

Preview Lab → · Contrast checker → · Palette generator →

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