#2C4F0E#2C4F0E

#2C4F0E is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.7% C 0.100 H 134.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2C4F0E
RGBrgb(44, 79, 14)
HSLhsl(92, 70%, 18%)
HSVhsv(92, 82%, 31%)
CMYKcmyk(44.3%, 0%, 82.3%, 69%)
CIE-LABlab(29.81, -24.80, 32.15)
CIE-LCHlch(29.81, 40.60, 127.64°)
OKLaboklab(38.66% -0.0696 0.0718)
OKLCHoklch(38.66% 0.1 134.1)
XYZxyz(3.9139, 6.1589, 1.3979)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F0E #310E4F
analogous
#4C4F0E #2C4F0E #0E4F11
triadic
#2C4F0E #0E2C4F #4F0E2C
tetradic
#2C4F0E #0E4C4F #310E4F #4F110E
square
#2C4F0E #0E4C4F #310E4F #4F110E
split-complementary
#2C4F0E #110E4F #4F0E4C
monochromatic
#0E1A05 #0F1B05 #2C4F0E #498317 #66B720

Accessibility & contrast

On white

9.41
#2C4F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C4F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F0E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F0E#FFFFFF#000000##FFFFFF
##2C4F0E1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524803
Deuteranopia (green-blind)
#4E4515
Tritanopia (blue-blind)
#2C4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4f0e;
/* rgb */ color: rgb(44, 79, 14);
/* oklch */ color: oklch(38.7% 0.100 134.1);
Tailwind
colors: {
  custom: {
    50: '#698052',
    500: '#2c4f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f0e;
$custom-light: #698052;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f0e",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 14
  },
  "hsl": {
    "h": 92.308,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38661,
    "c": 0.09999,
    "h": 134.1
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#2C4F0E
secondary
#602F8A
accent
#3BED9B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2C4F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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