#2E3F0B#2E3F0B

#2E3F0B is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.1% C 0.077 H 126.2°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2E3F0B
RGBrgb(46, 63, 11)
HSLhsl(80, 70%, 15%)
HSVhsv(80, 83%, 25%)
CMYKcmyk(27%, 0%, 82.5%, 75.3%)
CIE-LABlab(24.19, -15.86, 27.93)
CIE-LCHlch(24.19, 32.12, 119.58°)
OKLaboklab(34.11% -0.0457 0.0624)
OKLCHoklch(34.11% 0.077 126.2)
XYZxyz(2.9646, 4.1600, 0.9633)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3F0B #1C0B3F
analogous
#3F360B #2E3F0B #143F0B
triadic
#2E3F0B #0B2E3F #3F0B2E
tetradic
#2E3F0B #0B3F36 #1C0B3F #3F0B14
square
#2E3F0B #0B3F36 #1C0B3F #3F0B14
split-complementary
#2E3F0B #0B143F #360B3F
monochromatic
#131A05 #131A05 #2E3F0B #547314 #7AA71D

Accessibility & contrast

On white

11.46
#2E3F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3F0B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3F0B#FFFFFF#000000##FFFFFF
##2E3F0B1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A03
Deuteranopia (green-blind)
#403910
Tritanopia (blue-blind)
#303C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e3f0b;
/* rgb */ color: rgb(46, 63, 11);
/* oklch */ color: oklch(34.1% 0.077 126.2);
Tailwind
colors: {
  custom: {
    50: '#69744e',
    500: '#2e3f0b',
    950: '#000000',
  },
}
SCSS
$custom: #2e3f0b;
$custom-light: #69744e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3f0b",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 79.615,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34111,
    "c": 0.07735,
    "h": 126.2
  },
  "luminance": 0.0416
}

Semantic roles & 50–950 ramp

primary
#2E3F0B
secondary
#452A7C
accent
#3BED75
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E3F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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