#2A4614#2A4614

#2A4614 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.083 H 133.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2A4614
RGBrgb(42, 70, 20)
HSLhsl(94, 56%, 18%)
HSVhsv(94, 71%, 27%)
CMYKcmyk(40%, 0%, 71.4%, 72.5%)
CIE-LABlab(26.51, -20.61, 26.01)
CIE-LCHlch(26.51, 33.18, 128.39°)
OKLaboklab(35.95% -0.0575 0.0599)
OKLCHoklch(35.95% 0.083 133.8)
XYZxyz(3.2712, 4.9229, 1.4395)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4614 #301446
analogous
#434614 #2A4614 #144617
triadic
#2A4614 #142A46 #46142A
tetradic
#2A4614 #144346 #301446 #461714
square
#2A4614 #144346 #301446 #461714
split-complementary
#2A4614 #171446 #461443
monochromatic
#0E1807 #0E1807 #2A4614 #477622 #63A52F

Accessibility & contrast

On white

10.58
#2A4614 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2A4614 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4614
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4614#FFFFFF#000000##FFFFFF
##2A46141.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400E
Deuteranopia (green-blind)
#453E18
Tritanopia (blue-blind)
#2A433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a4614;
/* rgb */ color: rgb(42, 70, 20);
/* oklch */ color: oklch(36.0% 0.083 133.8);
Tailwind
colors: {
  custom: {
    50: '#667954',
    500: '#2a4614',
    950: '#000000',
  },
}
SCSS
$custom: #2a4614;
$custom-light: #667954;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4614",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 20
  },
  "hsl": {
    "h": 93.6,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35953,
    "c": 0.08307,
    "h": 133.8
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#2A4614
secondary
#5F387E
accent
#49DF9D
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4614

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

Preview Lab → · Contrast checker → · Palette generator →

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