#2E420F#2E420F

#2E420F is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.079 H 128.5°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2E420F
RGBrgb(46, 66, 15)
HSLhsl(84, 63%, 16%)
HSVhsv(84, 77%, 26%)
CMYKcmyk(30.3%, 0%, 77.3%, 74.1%)
CIE-LABlab(25.30, -17.20, 27.24)
CIE-LCHlch(25.30, 32.22, 122.28°)
OKLaboklab(35.02% -0.049 0.0617)
OKLCHoklch(35.02% 0.079 128.5)
XYZxyz(3.1611, 4.5117, 1.1561)
Luminance0.0451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E420F #230F42
analogous
#423C0F #2E420F #14420F
triadic
#2E420F #0F2E42 #420F2E
tetradic
#2E420F #0F423C #230F42 #420F14
square
#2E420F #0F423C #230F42 #420F14
split-complementary
#2E420F #0F1442 #3C0F42
monochromatic
#111906 #111906 #2E420F #51741A #74A626

Accessibility & contrast

On white

11.04
#2E420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E420F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E420F#FFFFFF#000000##FFFFFF
##2E420F1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D08
Deuteranopia (green-blind)
#433C13
Tritanopia (blue-blind)
#303F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e420f;
/* rgb */ color: rgb(46, 66, 15);
/* oklch */ color: oklch(35.0% 0.079 128.5);
Tailwind
colors: {
  custom: {
    50: '#697651',
    500: '#2e420f',
    950: '#000000',
  },
}
SCSS
$custom: #2e420f;
$custom-light: #697651;
$custom-dark: #000000;
JSON
{
  "hex": "#2e420f",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 83.529,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35016,
    "c": 0.07876,
    "h": 128.5
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#2E420F
secondary
#4E307C
accent
#42E682
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E420F

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

Preview Lab → · Contrast checker → · Palette generator →

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