#2A4914#2A4914

#2A4914 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.088 H 134.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2A4914
RGBrgb(42, 73, 20)
HSLhsl(95, 57%, 18%)
HSVhsv(95, 73%, 29%)
CMYKcmyk(42.5%, 0%, 72.6%, 71.4%)
CIE-LABlab(27.59, -22.14, 27.18)
CIE-LCHlch(27.59, 35.05, 129.16°)
OKLaboklab(36.83% -0.0617 0.0624)
OKLCHoklch(36.83% 0.088 134.7)
XYZxyz(3.4636, 5.3077, 1.5037)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4914 #331449
analogous
#444914 #2A4914 #144918
triadic
#2A4914 #142A49 #49142A
tetradic
#2A4914 #144449 #331449 #491814
square
#2A4914 #144449 #331449 #491814
split-complementary
#2A4914 #181449 #491444
monochromatic
#0E1807 #0E1907 #2A4914 #467921 #61A92E

Accessibility & contrast

On white

10.19
#2A4914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A4914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4914
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4914#FFFFFF#000000##FFFFFF
##2A49141.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430D
Deuteranopia (green-blind)
#484018
Tritanopia (blue-blind)
#2A463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a4914;
/* rgb */ color: rgb(42, 73, 20);
/* oklch */ color: oklch(36.8% 0.088 134.7);
Tailwind
colors: {
  custom: {
    50: '#667c54',
    500: '#2a4914',
    950: '#000000',
  },
}
SCSS
$custom: #2a4914;
$custom-light: #667c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4914",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 20
  },
  "hsl": {
    "h": 95.094,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36834,
    "c": 0.08775,
    "h": 134.7
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#2A4914
secondary
#633881
accent
#48E0A1
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4914

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

Preview Lab → · Contrast checker → · Palette generator →

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