#2F5E15#2F5E15

#2F5E15 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.2% C 0.115 H 136.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2F5E15
RGBrgb(47, 94, 21)
HSLhsl(99, 63%, 23%)
HSVhsv(99, 78%, 37%)
CMYKcmyk(50%, 0%, 77.7%, 63.1%)
CIE-LABlab(35.33, -30.10, 34.85)
CIE-LCHlch(35.33, 46.05, 130.82°)
OKLaboklab(43.24% -0.0836 0.0786)
OKLCHoklch(43.24% 0.115 136.8)
XYZxyz(5.3102, 8.6635, 2.1017)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E15 #44155E
analogous
#535E15 #2F5E15 #155E1F
triadic
#2F5E15 #152F5E #5E152F
tetradic
#2F5E15 #15535E #44155E #5E1F15
square
#2F5E15 #15535E #44155E #5E1F15
split-complementary
#2F5E15 #1F155E #5E1553
monochromatic
#0D1906 #162C0A #2F5E15 #489020 #61C22B

Accessibility & contrast

On white

7.68
#2F5E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5E15
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E15#FFFFFF#000000##FFFFFF
##2F5E151.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615608
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#2D5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5e15;
/* rgb */ color: rgb(47, 94, 21);
/* oklch */ color: oklch(43.2% 0.115 136.8);
Tailwind
colors: {
  custom: {
    50: '#6d8c58',
    500: '#2f5e15',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e15;
$custom-light: #6d8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e15",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 21
  },
  "hsl": {
    "h": 98.63,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43244,
    "c": 0.1147,
    "h": 136.8
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

primary
#2F5E15
secondary
#753995
accent
#41E7AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5E15

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

Preview Lab → · Contrast checker → · Palette generator →

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