#2F6214#2F6214

#2F6214 is a dark, vivid yellow-green. Relative luminance 0.094; OKLCH L 44.4% C 0.121 H 137.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2F6214
RGBrgb(47, 98, 20)
HSLhsl(99, 66%, 23%)
HSVhsv(99, 80%, 38%)
CMYKcmyk(52%, 0%, 79.6%, 61.6%)
CIE-LABlab(36.72, -31.94, 36.63)
CIE-LCHlch(36.72, 48.60, 131.08°)
OKLaboklab(44.39% -0.0886 0.0821)
OKLCHoklch(44.39% 0.121 137.2)
XYZxyz(5.6661, 9.3898, 2.1755)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6214 #471462
analogous
#566214 #2F6214 #146220
triadic
#2F6214 #142F62 #62142F
tetradic
#2F6214 #145662 #471462 #622014
square
#2F6214 #145662 #471462 #622014
split-complementary
#2F6214 #201462 #621456
monochromatic
#0C1905 #172F0A #2F6214 #47951E #60C829

Accessibility & contrast

On white

7.30
#2F6214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2F6214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6214
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6214#FFFFFF#000000##FFFFFF
##2F62141.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655905
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#2C5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f6214;
/* rgb */ color: rgb(47, 98, 20);
/* oklch */ color: oklch(44.4% 0.121 137.2);
Tailwind
colors: {
  custom: {
    50: '#6d8f58',
    500: '#2f6214',
    950: '#000000',
  },
}
SCSS
$custom: #2f6214;
$custom-light: #6d8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6214",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 20
  },
  "hsl": {
    "h": 99.231,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44389,
    "c": 0.12081,
    "h": 137.2
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#2F6214
secondary
#783899
accent
#3FE9AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F6214

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

Preview Lab → · Contrast checker → · Palette generator →

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