#2E3D07#2E3D07

#2E3D07 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.5% C 0.077 H 124.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2E3D07
RGBrgb(46, 61, 7)
HSLhsl(77, 79%, 13%)
HSVhsv(77, 89%, 24%)
CMYKcmyk(24.6%, 0%, 88.5%, 76.1%)
CIE-LABlab(23.45, -15.01, 28.83)
CIE-LCHlch(23.45, 32.50, 117.49°)
OKLaboklab(33.5% -0.0438 0.0637)
OKLCHoklch(33.5% 0.077 124.5)
XYZxyz(2.8338, 3.9336, 0.8109)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3D07 #16073D
analogous
#3D3107 #2E3D07 #133D07
triadic
#2E3D07 #072E3D #3D072E
tetradic
#2E3D07 #073D31 #16073D #3D0713
square
#2E3D07 #073D31 #16073D #3D0713
split-complementary
#2E3D07 #07133D #31073D
monochromatic
#151B03 #151B03 #2E3D07 #57740D #81AB14

Accessibility & contrast

On white

11.75
#2E3D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E3D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3D07
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3D07#FFFFFF#000000##FFFFFF
##2E3D071.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#3F380C
Tritanopia (blue-blind)
#313933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e3d07;
/* rgb */ color: rgb(46, 61, 7);
/* oklch */ color: oklch(33.5% 0.077 124.5);
Tailwind
colors: {
  custom: {
    50: '#69724c',
    500: '#2e3d07',
    950: '#000000',
  },
}
SCSS
$custom: #2e3d07;
$custom-light: #69724c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3d07",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 76.667,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.335,
    "c": 0.07731,
    "h": 124.5
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#2E3D07
secondary
#3C237C
accent
#32F668
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E3D07

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

Preview Lab → · Contrast checker → · Palette generator →

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