#2F5C13#2F5C13

#2F5C13 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.6% C 0.113 H 136.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2F5C13
RGBrgb(47, 92, 19)
HSLhsl(97, 66%, 22%)
HSVhsv(97, 79%, 36%)
CMYKcmyk(48.9%, 0%, 79.3%, 63.9%)
CIE-LABlab(34.61, -29.36, 34.94)
CIE-LCHlch(34.61, 45.63, 130.04°)
OKLaboklab(42.65% -0.0817 0.0784)
OKLCHoklch(42.65% 0.113 136.2)
XYZxyz(5.1168, 8.3053, 1.9494)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C13 #40135C
analogous
#545C13 #2F5C13 #135C1B
triadic
#2F5C13 #132F5C #5C132F
tetradic
#2F5C13 #13545C #40135C #5C1B13
square
#2F5C13 #13545C #40135C #5C1B13
split-complementary
#2F5C13 #1B135C #5C1354
monochromatic
#0D1905 #152909 #2F5C13 #498F1D #63C128

Accessibility & contrast

On white

7.89
#2F5C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2F5C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5C13
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C13#FFFFFF#000000##FFFFFF
##2F5C131.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5405
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#2D584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f5c13;
/* rgb */ color: rgb(47, 92, 19);
/* oklch */ color: oklch(42.6% 0.113 136.2);
Tailwind
colors: {
  custom: {
    50: '#6c8a56',
    500: '#2f5c13',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c13;
$custom-light: #6c8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c13",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 19
  },
  "hsl": {
    "h": 96.986,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.4265,
    "c": 0.11326,
    "h": 136.2
  },
  "luminance": 0.08306
}

Semantic roles & 50–950 ramp

primary
#2F5C13
secondary
#703794
accent
#3FE9A8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5C13

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

Preview Lab → · Contrast checker → · Palette generator →

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