#2F5F13#2F5F13

#2F5F13 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.5% C 0.117 H 136.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2F5F13
RGBrgb(47, 95, 19)
HSLhsl(98, 67%, 22%)
HSVhsv(98, 80%, 37%)
CMYKcmyk(50.5%, 0%, 80%, 62.7%)
CIE-LABlab(35.67, -30.70, 35.98)
CIE-LCHlch(35.67, 47.29, 130.47°)
OKLaboklab(43.52% -0.0853 0.0806)
OKLCHoklch(43.52% 0.117 136.6)
XYZxyz(5.3819, 8.8354, 2.0378)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F13 #43135F
analogous
#555F13 #2F5F13 #135F1D
triadic
#2F5F13 #132F5F #5F132F
tetradic
#2F5F13 #13555F #43135F #5F1D13
square
#2F5F13 #13555F #43135F #5F1D13
split-complementary
#2F5F13 #1D135F #5F1355
monochromatic
#0D1A05 #162C09 #2F5F13 #48921D #61C527

Accessibility & contrast

On white

7.59
#2F5F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2F5F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5F13
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F13#FFFFFF#000000##FFFFFF
##2F5F131.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625604
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#2D5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5f13;
/* rgb */ color: rgb(47, 95, 19);
/* oklch */ color: oklch(43.5% 0.117 136.6);
Tailwind
colors: {
  custom: {
    50: '#6d8d57',
    500: '#2f5f13',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f13;
$custom-light: #6d8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f13",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 97.895,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43517,
    "c": 0.11738,
    "h": 136.6
  },
  "luminance": 0.08836
}

Semantic roles & 50–950 ramp

primary
#2F5F13
secondary
#743797
accent
#3EEAAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5F13

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

Preview Lab → · Contrast checker → · Palette generator →

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