#2A4C09#2A4C09

#2A4C09 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.6% C 0.100 H 133.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2A4C09
RGBrgb(42, 76, 9)
HSLhsl(90, 79%, 17%)
HSVhsv(90, 88%, 30%)
CMYKcmyk(44.7%, 0%, 88.2%, 70.2%)
CIE-LABlab(28.59, -24.47, 32.80)
CIE-LCHlch(28.59, 40.92, 126.72°)
OKLaboklab(37.62% -0.0689 0.0724)
OKLCHoklch(37.62% 0.1 133.6)
XYZxyz(3.5885, 5.6807, 1.1658)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4C09 #2B094C
analogous
#4C4C09 #2A4C09 #094C0A
triadic
#2A4C09 #092A4C #4C092A
tetradic
#2A4C09 #094C4C #2B094C #4C0A09
square
#2A4C09 #094C4C #2B094C #4C0A09
split-complementary
#2A4C09 #0A094C #4C094C
monochromatic
#0F1B03 #0F1B03 #2A4C09 #48830F #66B916

Accessibility & contrast

On white

9.83
#2A4C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4C09
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4C09#FFFFFF#000000##FFFFFF
##2A4C091.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4c09;
/* rgb */ color: rgb(42, 76, 9);
/* oklch */ color: oklch(37.6% 0.100 133.6);
Tailwind
colors: {
  custom: {
    50: '#677e4f',
    500: '#2a4c09',
    950: '#000000',
  },
}
SCSS
$custom: #2a4c09;
$custom-light: #677e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4c09",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 9
  },
  "hsl": {
    "h": 90.448,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37624,
    "c": 0.09992,
    "h": 133.6
  },
  "luminance": 0.05681
}

Semantic roles & 50–950 ramp

primary
#2A4C09
secondary
#592889
accent
#33F595
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2A4C09

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

Preview Lab → · Contrast checker → · Palette generator →

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