#2C4E07#2C4E07

#2C4E07 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.103 H 133.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2C4E07
RGBrgb(44, 78, 7)
HSLhsl(89, 84%, 17%)
HSVhsv(89, 91%, 31%)
CMYKcmyk(43.6%, 0%, 91%, 69.4%)
CIE-LABlab(29.41, -24.75, 34.30)
CIE-LCHlch(29.41, 42.30, 125.81°)
OKLaboklab(38.32% -0.0699 0.0751)
OKLCHoklch(38.32% 0.103 133)
XYZxyz(3.8014, 5.9994, 1.1587)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E07 #29074E
analogous
#4E4D07 #2C4E07 #094E07
triadic
#2C4E07 #072C4E #4E072C
tetradic
#2C4E07 #074E4D #29074E #4E0709
square
#2C4E07 #074E4D #29074E #4E0709
split-complementary
#2C4E07 #07094E #4D074E
monochromatic
#101C03 #101C03 #2C4E07 #4C860C #6BBE11

Accessibility & contrast

On white

9.55
#2C4E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C4E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E07
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E07#FFFFFF#000000##FFFFFF
##2C4E071.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4D4410
Tritanopia (blue-blind)
#2C4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4e07;
/* rgb */ color: rgb(44, 78, 7);
/* oklch */ color: oklch(38.3% 0.103 133.0);
Tailwind
colors: {
  custom: {
    50: '#69804f',
    500: '#2c4e07',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e07;
$custom-light: #69804f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e07",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 88.732,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38321,
    "c": 0.10262,
    "h": 133
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#2C4E07
secondary
#56258C
accent
#2EFA90
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2C4E07

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

Preview Lab → · Contrast checker → · Palette generator →

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