#2E3F04#2E3F04

#2E3F04 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.1% C 0.082 H 125.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2E3F04
RGBrgb(46, 63, 4)
HSLhsl(77, 88%, 13%)
HSVhsv(77, 94%, 25%)
CMYKcmyk(27%, 0%, 93.7%, 75.3%)
CIE-LABlab(24.14, -16.33, 30.75)
CIE-LCHlch(24.14, 34.81, 117.97°)
OKLaboklab(34.06% -0.0477 0.0672)
OKLCHoklch(34.06% 0.082 125.4)
XYZxyz(2.9262, 4.1446, 0.7607)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3F04 #15043F
analogous
#3F3204 #2E3F04 #103F04
triadic
#2E3F04 #042E3F #3F042E
tetradic
#2E3F04 #043F32 #15043F #3F0410
square
#2E3F04 #043F32 #15043F #3F0410
split-complementary
#2E3F04 #04103F #32043F
monochromatic
#151D02 #151D02 #2E3F04 #587908 #82B20B

Accessibility & contrast

On white

11.48
#2E3F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E3F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3F04
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3F04#FFFFFF#000000##FFFFFF
##2E3F041.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#41390A
Tritanopia (blue-blind)
#313B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e3f04;
/* rgb */ color: rgb(46, 63, 4);
/* oklch */ color: oklch(34.1% 0.082 125.4);
Tailwind
colors: {
  custom: {
    50: '#69744a',
    500: '#2e3f04',
    950: '#000000',
  },
}
SCSS
$custom: #2e3f04;
$custom-light: #69744a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3f04",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 77.288,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34055,
    "c": 0.0824,
    "h": 125.4
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#2E3F04
secondary
#3B1E80
accent
#2AFE67
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E3F04

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

Preview Lab → · Contrast checker → · Palette generator →

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