#2F5B13#2F5B13

#2F5B13 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.4% C 0.112 H 136.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#2F5B13
RGBrgb(47, 91, 19)
HSLhsl(97, 65%, 22%)
HSVhsv(97, 79%, 36%)
CMYKcmyk(48.4%, 0%, 79.1%, 64.3%)
CIE-LABlab(34.26, -28.90, 34.59)
CIE-LCHlch(34.26, 45.07, 129.88°)
OKLaboklab(42.36% -0.0805 0.0777)
OKLCHoklch(42.36% 0.112 136)
XYZxyz(5.0308, 8.1332, 1.9208)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B13 #3F135B
analogous
#535B13 #2F5B13 #135B1B
triadic
#2F5B13 #132F5B #5B132F
tetradic
#2F5B13 #13535B #3F135B #5B1B13
square
#2F5B13 #13535B #3F135B #5B1B13
split-complementary
#2F5B13 #1B135B #5B1353
monochromatic
#0D1905 #152808 #2F5B13 #498E1E #63C028

Accessibility & contrast

On white

7.99
#2F5B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2F5B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5B13
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B13#FFFFFF#000000##FFFFFF
##2F5B131.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5306
Deuteranopia (green-blind)
#594F1A
Tritanopia (blue-blind)
#2D574D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f5b13;
/* rgb */ color: rgb(47, 91, 19);
/* oklch */ color: oklch(42.4% 0.112 136.0);
Tailwind
colors: {
  custom: {
    50: '#6c8a56',
    500: '#2f5b13',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b13;
$custom-light: #6c8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b13",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 96.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42361,
    "c": 0.11187,
    "h": 136
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#2F5B13
secondary
#6F3793
accent
#3FE8A7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5B13

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

Preview Lab → · Contrast checker → · Palette generator →

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