#2F5D13#2F5D13

#2F5D13 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 42.9% C 0.115 H 136.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2F5D13
RGBrgb(47, 93, 19)
HSLhsl(97, 66%, 22%)
HSVhsv(97, 80%, 36%)
CMYKcmyk(49.5%, 0%, 79.6%, 63.5%)
CIE-LABlab(34.96, -29.81, 35.29)
CIE-LCHlch(34.96, 46.19, 130.19°)
OKLaboklab(42.94% -0.0829 0.0792)
OKLCHoklch(42.94% 0.115 136.3)
XYZxyz(5.2040, 8.4797, 1.9785)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D13 #41135D
analogous
#545D13 #2F5D13 #135D1C
triadic
#2F5D13 #132F5D #5D132F
tetradic
#2F5D13 #13545D #41135D #5D1C13
square
#2F5D13 #13545D #41135D #5D1C13
split-complementary
#2F5D13 #1C135D #5D1354
monochromatic
#0D1905 #152A09 #2F5D13 #49901D #62C328

Accessibility & contrast

On white

7.79
#2F5D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2F5D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5D13
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D13#FFFFFF#000000##FFFFFF
##2F5D131.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605505
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#2D594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5d13;
/* rgb */ color: rgb(47, 93, 19);
/* oklch */ color: oklch(42.9% 0.115 136.3);
Tailwind
colors: {
  custom: {
    50: '#6d8b57',
    500: '#2f5d13',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d13;
$custom-light: #6d8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d13",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 19
  },
  "hsl": {
    "h": 97.297,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.11464,
    "h": 136.3
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#2F5D13
secondary
#713795
accent
#3FE9A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5D13

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

Preview Lab → · Contrast checker → · Palette generator →

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