#2E4F13#2E4F13

#2E4F13 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.095 H 133.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2E4F13
RGBrgb(46, 79, 19)
HSLhsl(93, 61%, 19%)
HSVhsv(93, 76%, 31%)
CMYKcmyk(41.8%, 0%, 75.9%, 69%)
CIE-LABlab(29.96, -23.60, 30.22)
CIE-LCHlch(29.96, 38.34, 128.00°)
OKLaboklab(38.83% -0.0661 0.0686)
OKLCHoklch(38.83% 0.095 133.9)
XYZxyz(4.0402, 6.2196, 1.6036)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F13 #34134F
analogous
#4C4F13 #2E4F13 #134F16
triadic
#2E4F13 #132E4F #4F132E
tetradic
#2E4F13 #134C4F #34134F #4F1613
square
#2E4F13 #134C4F #34134F #4F1613
split-complementary
#2E4F13 #16134F #4F134C
monochromatic
#0E1906 #111E07 #2E4F13 #4B801F #67B22B

Accessibility & contrast

On white

9.36
#2E4F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E4F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F13
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F13#FFFFFF#000000##FFFFFF
##2E4F131.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480A
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#2E4C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4f13;
/* rgb */ color: rgb(46, 79, 19);
/* oklch */ color: oklch(38.8% 0.095 133.9);
Tailwind
colors: {
  custom: {
    50: '#6a8055',
    500: '#2e4f13',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f13;
$custom-light: #6a8055;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f13",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 19
  },
  "hsl": {
    "h": 93,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38826,
    "c": 0.09522,
    "h": 133.9
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#2E4F13
secondary
#633688
accent
#43E49C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2E4F13

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

Preview Lab → · Contrast checker → · Palette generator →

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