#2E3A07#2E3A07

#2E3A07 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.073 H 122.4°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#2E3A07
RGBrgb(46, 58, 7)
HSLhsl(74, 78%, 13%)
HSVhsv(74, 88%, 23%)
CMYKcmyk(20.7%, 0%, 87.9%, 77.3%)
CIE-LABlab(22.38, -13.29, 27.73)
CIE-LCHlch(22.38, 30.75, 115.60°)
OKLaboklab(32.64% -0.0391 0.0616)
OKLCHoklch(32.64% 0.073 122.4)
XYZxyz(2.6782, 3.6223, 0.7591)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3A07 #13073A
analogous
#3A2D07 #2E3A07 #143A07
triadic
#2E3A07 #072E3A #3A072E
tetradic
#2E3A07 #073A2D #13073A #3A0714
square
#2E3A07 #073A2D #13073A #3A0714
split-complementary
#2E3A07 #07143A #2D073A
monochromatic
#161B03 #161B03 #2E3A07 #59710E #85A714

Accessibility & contrast

On white

12.18
#2E3A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E3A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3A07
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3A07#FFFFFF#000000##FFFFFF
##2E3A071.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3D350C
Tritanopia (blue-blind)
#313730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3a07;
/* rgb */ color: rgb(46, 58, 7);
/* oklch */ color: oklch(32.6% 0.073 122.4);
Tailwind
colors: {
  custom: {
    50: '#69704b',
    500: '#2e3a07',
    950: '#000000',
  },
}
SCSS
$custom: #2e3a07;
$custom-light: #69704b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3a07",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 74.118,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32635,
    "c": 0.07298,
    "h": 122.4
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#2E3A07
secondary
#382379
accent
#33F561
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3A07

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

Preview Lab → · Contrast checker → · Palette generator →

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