#2F5A13#2F5A13

#2F5A13 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.1% C 0.110 H 135.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2F5A13
RGBrgb(47, 90, 19)
HSLhsl(96, 65%, 21%)
HSVhsv(96, 79%, 35%)
CMYKcmyk(47.8%, 0%, 78.9%, 64.7%)
CIE-LABlab(33.91, -28.45, 34.24)
CIE-LCHlch(33.91, 44.51, 129.72°)
OKLaboklab(42.07% -0.0792 0.077)
OKLCHoklch(42.07% 0.11 135.8)
XYZxyz(4.9459, 7.9634, 1.8924)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5A13 #3E135A
analogous
#535A13 #2F5A13 #135A1B
triadic
#2F5A13 #132F5A #5A132F
tetradic
#2F5A13 #13535A #3E135A #5A1B13
square
#2F5A13 #13535A #3E135A #5A1B13
split-complementary
#2F5A13 #1B135A #5A1353
monochromatic
#0D1905 #152708 #2F5A13 #498D1E #64BF28

Accessibility & contrast

On white

8.10
#2F5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2F5A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5A13
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5A13#FFFFFF#000000##FFFFFF
##2F5A131.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5206
Deuteranopia (green-blind)
#584E1A
Tritanopia (blue-blind)
#2D564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f5a13;
/* rgb */ color: rgb(47, 90, 19);
/* oklch */ color: oklch(42.1% 0.110 135.8);
Tailwind
colors: {
  custom: {
    50: '#6c8956',
    500: '#2f5a13',
    950: '#000000',
  },
}
SCSS
$custom: #2f5a13;
$custom-light: #6c8956;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5a13",
  "rgb": {
    "r": 47,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 96.338,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42072,
    "c": 0.11048,
    "h": 135.8
  },
  "luminance": 0.07964
}

Semantic roles & 50–950 ramp

primary
#2F5A13
secondary
#6E3792
accent
#40E8A6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5A13

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

Preview Lab → · Contrast checker → · Palette generator →

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