#2F5E0F#2F5E0F

#2F5E0F is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.2% C 0.118 H 136.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2F5E0F
RGBrgb(47, 94, 15)
HSLhsl(96, 72%, 21%)
HSVhsv(96, 84%, 37%)
CMYKcmyk(50%, 0%, 84%, 63.1%)
CIE-LABlab(35.29, -30.52, 37.08)
CIE-LCHlch(35.29, 48.02, 129.46°)
OKLaboklab(43.2% -0.0851 0.0823)
OKLCHoklch(43.2% 0.118 136)
XYZxyz(5.2611, 8.6439, 1.8431)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E0F #3E0F5E
analogous
#575E0F #2F5E0F #0F5E17
triadic
#2F5E0F #0F2F5E #5E0F2F
tetradic
#2F5E0F #0F575E #3E0F5E #5E170F
square
#2F5E0F #0F575E #3E0F5E #5E170F
split-complementary
#2F5E0F #170F5E #5E0F57
monochromatic
#0D1A04 #152907 #2F5E0F #499317 #64C820

Accessibility & contrast

On white

7.70
#2F5E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2F5E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5E0F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E0F#FFFFFF#000000##FFFFFF
##2F5E0F1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625500
Deuteranopia (green-blind)
#5B5218
Tritanopia (blue-blind)
#2D5A4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5e0f;
/* rgb */ color: rgb(47, 94, 15);
/* oklch */ color: oklch(43.2% 0.118 136.0);
Tailwind
colors: {
  custom: {
    50: '#6d8c55',
    500: '#2f5e0f',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e0f;
$custom-light: #6d8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e0f",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 95.696,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.432,
    "c": 0.11838,
    "h": 136
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#2F5E0F
secondary
#6E3197
accent
#39EFA5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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