#2A4C0E#2A4C0E

#2A4C0E is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.097 H 134.3°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2A4C0E
RGBrgb(42, 76, 14)
HSLhsl(93, 69%, 18%)
HSVhsv(93, 82%, 30%)
CMYKcmyk(44.7%, 0%, 81.6%, 70.2%)
CIE-LABlab(28.62, -24.14, 30.95)
CIE-LCHlch(28.62, 39.25, 127.95°)
OKLaboklab(37.66% -0.0676 0.0694)
OKLCHoklch(37.66% 0.097 134.3)
XYZxyz(3.6185, 5.6926, 1.3235)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4C0E #300E4C
analogous
#494C0E #2A4C0E #0E4C11
triadic
#2A4C0E #0E2A4C #4C0E2A
tetradic
#2A4C0E #0E494C #300E4C #4C110E
square
#2A4C0E #0E494C #300E4C #4C110E
split-complementary
#2A4C0E #110E4C #4C0E49
monochromatic
#0E1A05 #0E1A05 #2A4C0E #478018 #63B321

Accessibility & contrast

On white

9.82
#2A4C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2A4C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4C0E
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4C0E#FFFFFF#000000##FFFFFF
##2A4C0E1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4503
Deuteranopia (green-blind)
#4B4214
Tritanopia (blue-blind)
#2A4940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a4c0e;
/* rgb */ color: rgb(42, 76, 14);
/* oklch */ color: oklch(37.7% 0.097 134.3);
Tailwind
colors: {
  custom: {
    50: '#677e51',
    500: '#2a4c0e',
    950: '#000000',
  },
}
SCSS
$custom: #2a4c0e;
$custom-light: #677e51;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4c0e",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 92.903,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3766,
    "c": 0.09687,
    "h": 134.3
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#2A4C0E
secondary
#5F2F87
accent
#3CEC9C
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2A4C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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