#2E4210#2E4210

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

Color values

HEX#2E4210
RGBrgb(46, 66, 16)
HSLhsl(84, 61%, 16%)
HSVhsv(84, 76%, 26%)
CMYKcmyk(30.3%, 0%, 75.8%, 74.1%)
CIE-LABlab(25.30, -17.12, 26.77)
CIE-LCHlch(25.30, 31.78, 122.59°)
OKLaboklab(35.03% -0.0486 0.0609)
OKLCHoklch(35.03% 0.078 128.6)
XYZxyz(3.1684, 4.5146, 1.1946)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4210 #241042
analogous
#423D10 #2E4210 #154210
triadic
#2E4210 #102E42 #42102E
tetradic
#2E4210 #10423D #241042 #421015
square
#2E4210 #10423D #241042 #421015
split-complementary
#2E4210 #101542 #3D1042
monochromatic
#111906 #111906 #2E4210 #50731C #73A528

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4210#FFFFFF#000000##FFFFFF
##2E42101.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)
#463D09
Deuteranopia (green-blind)
#433C14
Tritanopia (blue-blind)
#303F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e4210;
/* rgb */ color: rgb(46, 66, 16);
/* oklch */ color: oklch(35.0% 0.078 128.6);
Tailwind
colors: {
  custom: {
    50: '#697651',
    500: '#2e4210',
    950: '#000000',
  },
}
SCSS
$custom: #2e4210;
$custom-light: #697651;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4210",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 16
  },
  "hsl": {
    "h": 84,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35026,
    "c": 0.07792,
    "h": 128.6
  },
  "luminance": 0.04515
}

Semantic roles & 50–950 ramp

primary
#2E4210
secondary
#4F327C
accent
#44E484
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2E4210

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

Preview Lab → · Contrast checker → · Palette generator →

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