#2A4E09#2A4E09

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

Color values

HEX#2A4E09
RGBrgb(42, 78, 9)
HSLhsl(91, 79%, 17%)
HSVhsv(91, 88%, 31%)
CMYKcmyk(46.2%, 0%, 88.5%, 69.4%)
CIE-LABlab(29.31, -25.42, 33.46)
CIE-LCHlch(29.31, 42.03, 127.22°)
OKLaboklab(38.21% -0.0715 0.0738)
OKLCHoklch(38.21% 0.103 134.1)
XYZxyz(3.7285, 5.9605, 1.2124)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E09 #2D094E
analogous
#4D4E09 #2A4E09 #094E0A
triadic
#2A4E09 #092A4E #4E092A
tetradic
#2A4E09 #094D4E #2D094E #4E0A09
square
#2A4E09 #094D4E #2D094E #4E0A09
split-complementary
#2A4E09 #0A094E #4E094D
monochromatic
#0F1B03 #0F1B03 #2A4E09 #48850F #65BC16

Accessibility & contrast

On white

9.58
#2A4E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4E09
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E09#FFFFFF#000000##FFFFFF
##2A4E091.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514700
Deuteranopia (green-blind)
#4D4411
Tritanopia (blue-blind)
#2A4B41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4e09;
/* rgb */ color: rgb(42, 78, 9);
/* oklch */ color: oklch(38.2% 0.103 134.1);
Tailwind
colors: {
  custom: {
    50: '#68804f',
    500: '#2a4e09',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e09;
$custom-light: #68804f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e09",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 9
  },
  "hsl": {
    "h": 91.304,
    "s": 79.31,
    "l": 17.059
  },
  "oklch": {
    "l": 0.38215,
    "c": 0.10271,
    "h": 134.1
  },
  "luminance": 0.05961
}

Semantic roles & 50–950 ramp

primary
#2A4E09
secondary
#5C288B
accent
#32F698
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2A4E09

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

Preview Lab → · Contrast checker → · Palette generator →

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