#2A4814#2A4814

#2A4814 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.5% C 0.086 H 134.4°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2A4814
RGBrgb(42, 72, 20)
HSLhsl(95, 57%, 18%)
HSVhsv(95, 72%, 28%)
CMYKcmyk(41.7%, 0%, 72.2%, 71.8%)
CIE-LABlab(27.23, -21.63, 26.79)
CIE-LCHlch(27.23, 34.43, 128.92°)
OKLaboklab(36.54% -0.0603 0.0616)
OKLCHoklch(36.54% 0.086 134.4)
XYZxyz(3.3984, 5.1773, 1.4819)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4814 #321448
analogous
#444814 #2A4814 #144818
triadic
#2A4814 #142A48 #48142A
tetradic
#2A4814 #144448 #321448 #481814
square
#2A4814 #144448 #321448 #481814
split-complementary
#2A4814 #181448 #481444
monochromatic
#0E1807 #0E1807 #2A4814 #467821 #62A82F

Accessibility & contrast

On white

10.32
#2A4814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2A4814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4814
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4814#FFFFFF#000000##FFFFFF
##2A48141.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B420D
Deuteranopia (green-blind)
#473F18
Tritanopia (blue-blind)
#2A453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a4814;
/* rgb */ color: rgb(42, 72, 20);
/* oklch */ color: oklch(36.5% 0.086 134.4);
Tailwind
colors: {
  custom: {
    50: '#667b54',
    500: '#2a4814',
    950: '#000000',
  },
}
SCSS
$custom: #2a4814;
$custom-light: #667b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4814",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 20
  },
  "hsl": {
    "h": 94.615,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3654,
    "c": 0.08619,
    "h": 134.4
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#2A4814
secondary
#613880
accent
#48E0A0
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4814

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

Preview Lab → · Contrast checker → · Palette generator →

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