#2C5F0F#2C5F0F

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

Color values

HEX#2C5F0F
RGBrgb(44, 95, 15)
HSLhsl(98, 73%, 22%)
HSVhsv(98, 84%, 37%)
CMYKcmyk(53.7%, 0%, 84.2%, 62.7%)
CIE-LABlab(35.51, -31.99, 37.23)
CIE-LCHlch(35.51, 49.09, 130.67°)
OKLaboklab(43.34% -0.0889 0.0826)
OKLCHoklch(43.34% 0.121 137.1)
XYZxyz(5.2170, 8.7540, 1.8666)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F0F #420F5F
analogous
#545F0F #2C5F0F #0F5F1A
triadic
#2C5F0F #0F2C5F #5F0F2C
tetradic
#2C5F0F #0F545F #420F5F #5F1A0F
square
#2C5F0F #0F545F #420F5F #5F1A0F
split-complementary
#2C5F0F #1A0F5F #5F0F54
monochromatic
#0C1A04 #142A07 #2C5F0F #449417 #5DC920

Accessibility & contrast

On white

7.63
#2C5F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5F0F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F0F#FFFFFF#000000##FFFFFF
##2C5F0F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.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: #2c5f0f;
/* rgb */ color: rgb(44, 95, 15);
/* oklch */ color: oklch(43.3% 0.121 137.1);
Tailwind
colors: {
  custom: {
    50: '#6b8d55',
    500: '#2c5f0f',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f0f;
$custom-light: #6b8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f0f",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 15
  },
  "hsl": {
    "h": 98.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.12135,
    "h": 137.1
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#2C5F0F
secondary
#733298
accent
#38EFAD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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