#2F5F14#2F5F14

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

Color values

HEX#2F5F14
RGBrgb(47, 95, 20)
HSLhsl(98, 65%, 23%)
HSVhsv(98, 79%, 37%)
CMYKcmyk(50.5%, 0%, 78.9%, 62.7%)
CIE-LABlab(35.67, -30.62, 35.59)
CIE-LCHlch(35.67, 46.95, 130.71°)
OKLaboklab(43.52% -0.085 0.08)
OKLCHoklch(43.52% 0.117 136.8)
XYZxyz(5.3906, 8.8389, 2.0837)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F14 #44145F
analogous
#545F14 #2F5F14 #145F1F
triadic
#2F5F14 #142F5F #5F142F
tetradic
#2F5F14 #14545F #44145F #5F1F14
square
#2F5F14 #14545F #44145F #5F1F14
split-complementary
#2F5F14 #1F145F #5F1454
monochromatic
#0D1905 #162C09 #2F5F14 #48921F #61C429

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F5F14#FFFFFF#000000##FFFFFF
##2F5F141.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)
#625606
Deuteranopia (green-blind)
#5C521C
Tritanopia (blue-blind)
#2C5B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2f5f14;
/* rgb */ color: rgb(47, 95, 20);
/* oklch */ color: oklch(43.5% 0.117 136.8);
Tailwind
colors: {
  custom: {
    50: '#6d8d57',
    500: '#2f5f14',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f14;
$custom-light: #6d8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f14",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 20
  },
  "hsl": {
    "h": 98.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43524,
    "c": 0.11673,
    "h": 136.8
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

primary
#2F5F14
secondary
#753897
accent
#40E8AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5F14

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

Preview Lab → · Contrast checker → · Palette generator →

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