#2A4E0E#2A4E0E

#2A4E0E is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.2% C 0.100 H 134.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2A4E0E
RGBrgb(42, 78, 14)
HSLhsl(94, 70%, 18%)
HSVhsv(94, 82%, 31%)
CMYKcmyk(46.2%, 0%, 82.1%, 69.4%)
CIE-LABlab(29.34, -25.10, 31.66)
CIE-LCHlch(29.34, 40.40, 128.41°)
OKLaboklab(38.25% -0.0702 0.0708)
OKLCHoklch(38.25% 0.1 134.8)
XYZxyz(3.7584, 5.9725, 1.3702)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E0E #320E4E
analogous
#4A4E0E #2A4E0E #0E4E12
triadic
#2A4E0E #0E2A4E #4E0E2A
tetradic
#2A4E0E #0E4A4E #320E4E #4E120E
square
#2A4E0E #0E4A4E #320E4E #4E120E
split-complementary
#2A4E0E #120E4E #4E0E4A
monochromatic
#0E1A05 #0E1A05 #2A4E0E #468217 #62B621

Accessibility & contrast

On white

9.57
#2A4E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2A4E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E0E
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E0E#FFFFFF#000000##FFFFFF
##2A4E0E1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514703
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#294B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4e0e;
/* rgb */ color: rgb(42, 78, 14);
/* oklch */ color: oklch(38.2% 0.100 134.8);
Tailwind
colors: {
  custom: {
    50: '#678052',
    500: '#2a4e0e',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e0e;
$custom-light: #678052;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e0e",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 14
  },
  "hsl": {
    "h": 93.75,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38249,
    "c": 0.09975,
    "h": 134.8
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#2A4E0E
secondary
#612F89
accent
#3BEC9F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2A4E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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