#2E5F10#2E5F10

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

Color values

HEX#2E5F10
RGBrgb(46, 95, 16)
HSLhsl(97, 71%, 22%)
HSVhsv(97, 83%, 37%)
CMYKcmyk(51.6%, 0%, 83.2%, 62.7%)
CIE-LABlab(35.60, -31.25, 37.01)
CIE-LCHlch(35.60, 48.44, 130.18°)
OKLaboklab(43.45% -0.0869 0.0823)
OKLCHoklch(43.45% 0.12 136.6)
XYZxyz(5.3123, 8.8023, 1.9092)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F10 #41105F
analogous
#565F10 #2E5F10 #105F1A
triadic
#2E5F10 #102E5F #5F102E
tetradic
#2E5F10 #10565F #41105F #5F1A10
square
#2E5F10 #10565F #41105F #5F1A10
split-complementary
#2E5F10 #1A105F #5F1056
monochromatic
#0D1A04 #152B07 #2E5F10 #479319 #61C822

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E5F10#FFFFFF#000000##FFFFFF
##2E5F101.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)
#5C5219
Tritanopia (blue-blind)
#2B5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5f10;
/* rgb */ color: rgb(46, 95, 16);
/* oklch */ color: oklch(43.4% 0.120 136.6);
Tailwind
colors: {
  custom: {
    50: '#6c8d55',
    500: '#2e5f10',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f10;
$custom-light: #6c8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f10",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 97.215,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43445,
    "c": 0.11971,
    "h": 136.6
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#2E5F10
secondary
#723398
accent
#3AEEAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2E5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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