#2E3C07#2E3C07

#2E3C07 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.076 H 123.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2E3C07
RGBrgb(46, 60, 7)
HSLhsl(76, 79%, 13%)
HSVhsv(76, 88%, 24%)
CMYKcmyk(23.3%, 0%, 88.3%, 76.5%)
CIE-LABlab(23.09, -14.44, 28.47)
CIE-LCHlch(23.09, 31.92, 116.89°)
OKLaboklab(33.21% -0.0422 0.063)
OKLCHoklch(33.21% 0.076 123.8)
XYZxyz(2.7810, 3.8279, 0.7933)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3C07 #15073C
analogous
#3C2F07 #2E3C07 #133C07
triadic
#2E3C07 #072E3C #3C072E
tetradic
#2E3C07 #073C2F #15073C #3C0713
square
#2E3C07 #073C2F #15073C #3C0713
split-complementary
#2E3C07 #07133C #2F073C
monochromatic
#151B03 #151B03 #2E3C07 #58730D #82AA14

Accessibility & contrast

On white

11.89
#2E3C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E3C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3C07
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3C07#FFFFFF#000000##FFFFFF
##2E3C071.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#3E370C
Tritanopia (blue-blind)
#313932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e3c07;
/* rgb */ color: rgb(46, 60, 7);
/* oklch */ color: oklch(33.2% 0.076 123.8);
Tailwind
colors: {
  custom: {
    50: '#69714c',
    500: '#2e3c07',
    950: '#000000',
  },
}
SCSS
$custom: #2e3c07;
$custom-light: #69714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3c07",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 7
  },
  "hsl": {
    "h": 75.849,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33212,
    "c": 0.07587,
    "h": 123.8
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#2E3C07
secondary
#3B237B
accent
#32F666
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3C07

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

Preview Lab → · Contrast checker → · Palette generator →

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