#2A4D0D#2A4D0D

#2A4D0D is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.099 H 134.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2A4D0D
RGBrgb(42, 77, 13)
HSLhsl(93, 71%, 18%)
HSVhsv(93, 83%, 30%)
CMYKcmyk(45.5%, 0%, 83.1%, 69.8%)
CIE-LABlab(28.98, -24.69, 31.70)
CIE-LCHlch(28.98, 40.18, 127.92°)
OKLaboklab(37.95% -0.0692 0.0707)
OKLCHoklch(37.95% 0.099 134.4)
XYZxyz(3.6813, 5.8289, 1.3118)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D0D #300D4D
analogous
#4A4D0D #2A4D0D #0D4D10
triadic
#2A4D0D #0D2A4D #4D0D2A
tetradic
#2A4D0D #0D4A4D #300D4D #4D100D
square
#2A4D0D #0D4A4D #300D4D #4D100D
split-complementary
#2A4D0D #100D4D #4D0D4A
monochromatic
#0E1A04 #0E1A04 #2A4D0D #478116 #63B61F

Accessibility & contrast

On white

9.70
#2A4D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4D0D
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D0D#FFFFFF#000000##FFFFFF
##2A4D0D1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4d0d;
/* rgb */ color: rgb(42, 77, 13);
/* oklch */ color: oklch(37.9% 0.099 134.4);
Tailwind
colors: {
  custom: {
    50: '#677f51',
    500: '#2a4d0d',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d0d;
$custom-light: #677f51;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d0d",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 92.813,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37947,
    "c": 0.09897,
    "h": 134.4
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#2A4D0D
secondary
#5F2E88
accent
#3AEE9C
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2A4D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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