#2E4014#2E4014

#2E4014 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.071 H 128.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2E4014
RGBrgb(46, 64, 20)
HSLhsl(85, 52%, 16%)
HSVhsv(85, 69%, 25%)
CMYKcmyk(28.1%, 0%, 68.8%, 74.9%)
CIE-LABlab(24.63, -15.63, 24.01)
CIE-LCHlch(24.63, 28.65, 123.06°)
OKLaboklab(34.49% -0.0441 0.0556)
OKLCHoklch(34.49% 0.071 128.4)
XYZxyz(3.0864, 4.2981, 1.3287)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4014 #261440
analogous
#403C14 #2E4014 #184014
triadic
#2E4014 #142E40 #40142E
tetradic
#2E4014 #14403C #261440 #401418
square
#2E4014 #14403C #261440 #401418
split-complementary
#2E4014 #141840 #3C1440
monochromatic
#111707 #111707 #2E4014 #506F23 #719D31

Accessibility & contrast

On white

11.29
#2E4014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E4014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4014
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4014#FFFFFF#000000##FFFFFF
##2E40141.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0F
Deuteranopia (green-blind)
#413A17
Tritanopia (blue-blind)
#303D37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e4014;
/* rgb */ color: rgb(46, 64, 20);
/* oklch */ color: oklch(34.5% 0.071 128.4);
Tailwind
colors: {
  custom: {
    50: '#687553',
    500: '#2e4014',
    950: '#000000',
  },
}
SCSS
$custom: #2e4014;
$custom-light: #687553;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4014",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 20
  },
  "hsl": {
    "h": 84.545,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34495,
    "c": 0.07101,
    "h": 128.4
  },
  "luminance": 0.04298
}

Semantic roles & 50–950 ramp

primary
#2E4014
secondary
#523878
accent
#4CDC87
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E4014

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

Preview Lab → · Contrast checker → · Palette generator →

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