#2F4A14#2F4A14

#2F4A14 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.086 H 132.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2F4A14
RGBrgb(47, 74, 20)
HSLhsl(90, 57%, 18%)
HSVhsv(90, 73%, 29%)
CMYKcmyk(36.5%, 0%, 73%, 71%)
CIE-LABlab(28.25, -20.57, 27.98)
CIE-LCHlch(28.25, 34.73, 126.33°)
OKLaboklab(37.45% -0.0578 0.064)
OKLCHoklch(37.45% 0.086 132.1)
XYZxyz(3.7473, 5.5523, 1.5359)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A14 #2F144A
analogous
#4A4A14 #2F4A14 #144A14
triadic
#2F4A14 #142F4A #4A142F
tetradic
#2F4A14 #144A4A #2F144A #4A1414
square
#2F4A14 #144A4A #2F144A #4A1414
split-complementary
#2F4A14 #14144A #4A144A
monochromatic
#0F1807 #101A07 #2F4A14 #4E7A21 #6CAA2E

Accessibility & contrast

On white

9.95
#2F4A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2F4A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4A14
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4A14#FFFFFF#000000##FFFFFF
##2F4A141.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440D
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#30473F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4a14;
/* rgb */ color: rgb(47, 74, 20);
/* oklch */ color: oklch(37.5% 0.086 132.1);
Tailwind
colors: {
  custom: {
    50: '#6a7c55',
    500: '#2f4a14',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a14;
$custom-light: #6a7c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a14",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 20
  },
  "hsl": {
    "h": 90,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37453,
    "c": 0.08622,
    "h": 132.1
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#2F4A14
secondary
#5D3882
accent
#47E194
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #2F4A14

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

Preview Lab → · Contrast checker → · Palette generator →

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