#2A4E14#2A4E14

#2A4E14 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.095 H 135.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2A4E14
RGBrgb(42, 78, 20)
HSLhsl(97, 59%, 19%)
HSVhsv(97, 74%, 31%)
CMYKcmyk(46.2%, 0%, 74.4%, 69.4%)
CIE-LABlab(29.39, -24.60, 29.09)
CIE-LCHlch(29.39, 38.10, 130.21°)
OKLaboklab(38.3% -0.0684 0.0664)
OKLCHoklch(38.3% 0.095 135.8)
XYZxyz(3.8054, 5.9913, 1.6176)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E14 #38144E
analogous
#474E14 #2A4E14 #144E1B
triadic
#2A4E14 #142A4E #4E142A
tetradic
#2A4E14 #14474E #38144E #4E1B14
square
#2A4E14 #14474E #38144E #4E1B14
split-complementary
#2A4E14 #1B144E #4E1447
monochromatic
#0D1806 #101D08 #2A4E14 #447F20 #5EAF2D

Accessibility & contrast

On white

9.55
#2A4E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2A4E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E14
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E14#FFFFFF#000000##FFFFFF
##2A4E141.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470C
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#294B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4e14;
/* rgb */ color: rgb(42, 78, 20);
/* oklch */ color: oklch(38.3% 0.095 135.8);
Tailwind
colors: {
  custom: {
    50: '#678055',
    500: '#2a4e14',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e14;
$custom-light: #678055;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e14",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 97.241,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38303,
    "c": 0.09534,
    "h": 135.8
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#2A4E14
secondary
#683886
accent
#45E2A7
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2A4E14

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

Preview Lab → · Contrast checker → · Palette generator →

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