#2C5F0E#2C5F0E

#2C5F0E is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.3% C 0.122 H 137.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2C5F0E
RGBrgb(44, 95, 14)
HSLhsl(98, 74%, 21%)
HSVhsv(98, 85%, 37%)
CMYKcmyk(53.7%, 0%, 85.3%, 62.7%)
CIE-LABlab(35.50, -32.05, 37.56)
CIE-LCHlch(35.50, 49.38, 130.47°)
OKLaboklab(43.34% -0.0891 0.0832)
OKLCHoklch(43.34% 0.122 137)
XYZxyz(5.2100, 8.7512, 1.8300)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F0E #410E5F
analogous
#555F0E #2C5F0E #0E5F19
triadic
#2C5F0E #0E2C5F #5F0E2C
tetradic
#2C5F0E #0E555F #410E5F #5F190E
square
#2C5F0E #0E555F #410E5F #5F190E
split-complementary
#2C5F0E #190E5F #5F0E55
monochromatic
#0C1B04 #132A06 #2C5F0E #459416 #5DCA1E

Accessibility & contrast

On white

7.64
#2C5F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C5F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5F0E
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F0E#FFFFFF#000000##FFFFFF
##2C5F0E1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#295B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5f0e;
/* rgb */ color: rgb(44, 95, 14);
/* oklch */ color: oklch(43.3% 0.122 137.0);
Tailwind
colors: {
  custom: {
    50: '#6b8d55',
    500: '#2c5f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f0e;
$custom-light: #6b8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f0e",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 97.778,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43335,
    "c": 0.12187,
    "h": 137
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#2C5F0E
secondary
#723099
accent
#37F1AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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