#2A4D0E#2A4D0E

#2A4D0E is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.098 H 134.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2A4D0E
RGBrgb(42, 77, 14)
HSLhsl(93, 69%, 18%)
HSVhsv(93, 82%, 30%)
CMYKcmyk(45.5%, 0%, 81.8%, 69.8%)
CIE-LABlab(28.98, -24.62, 31.31)
CIE-LCHlch(28.98, 39.83, 128.19°)
OKLaboklab(37.96% -0.0689 0.0701)
OKLCHoklch(37.96% 0.098 134.5)
XYZxyz(3.6879, 5.8315, 1.3467)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D0E #310E4D
analogous
#494D0E #2A4D0E #0E4D11
triadic
#2A4D0E #0E2A4D #4D0E2A
tetradic
#2A4D0E #0E494D #310E4D #4D110E
square
#2A4D0E #0E494D #310E4D #4D110E
split-complementary
#2A4D0E #110E4D #4D0E49
monochromatic
#0E1A05 #0E1A05 #2A4D0E #468117 #62B521

Accessibility & contrast

On white

9.69
#2A4D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2A4D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D0E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D0E#FFFFFF#000000##FFFFFF
##2A4D0E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504603
Deuteranopia (green-blind)
#4C4314
Tritanopia (blue-blind)
#294A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4d0e;
/* rgb */ color: rgb(42, 77, 14);
/* oklch */ color: oklch(38.0% 0.098 134.5);
Tailwind
colors: {
  custom: {
    50: '#677f52',
    500: '#2a4d0e',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d0e;
$custom-light: #677f52;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d0e",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 14
  },
  "hsl": {
    "h": 93.333,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37955,
    "c": 0.09832,
    "h": 134.5
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#2A4D0E
secondary
#602F88
accent
#3CEC9E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2A4D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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