#2F5E13#2F5E13

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

Color values

HEX#2F5E13
RGBrgb(47, 94, 19)
HSLhsl(98, 66%, 22%)
HSVhsv(98, 80%, 37%)
CMYKcmyk(50%, 0%, 79.8%, 63.1%)
CIE-LABlab(35.31, -30.25, 35.63)
CIE-LCHlch(35.31, 46.74, 130.33°)
OKLaboklab(43.23% -0.0841 0.0799)
OKLCHoklch(43.23% 0.116 136.5)
XYZxyz(5.2924, 8.6564, 2.0080)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E13 #42135E
analogous
#555E13 #2F5E13 #135E1D
triadic
#2F5E13 #132F5E #5E132F
tetradic
#2F5E13 #13555E #42135E #5E1D13
square
#2F5E13 #13555E #42135E #5E1D13
split-complementary
#2F5E13 #1D135E #5E1355
monochromatic
#0D1905 #162B09 #2F5E13 #48911D #62C428

Accessibility & contrast

On white

7.69
#2F5E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5E13
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E13#FFFFFF#000000##FFFFFF
##2F5E131.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f5e13;
/* rgb */ color: rgb(47, 94, 19);
/* oklch */ color: oklch(43.2% 0.116 136.5);
Tailwind
colors: {
  custom: {
    50: '#6d8c57',
    500: '#2f5e13',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e13;
$custom-light: #6d8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e13",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 97.6,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43228,
    "c": 0.11601,
    "h": 136.5
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#2F5E13
secondary
#723796
accent
#3FE9AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5E13

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

Preview Lab → · Contrast checker → · Palette generator →

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