#2F6213#2F6213

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

Color values

HEX#2F6213
RGBrgb(47, 98, 19)
HSLhsl(99, 68%, 23%)
HSVhsv(99, 81%, 38%)
CMYKcmyk(52%, 0%, 80.6%, 61.6%)
CIE-LABlab(36.72, -32.01, 37.01)
CIE-LCHlch(36.72, 48.93, 130.86°)
OKLaboklab(44.38% -0.0889 0.0828)
OKLCHoklch(44.38% 0.121 137)
XYZxyz(5.6573, 9.3863, 2.1296)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6213 #461362
analogous
#566213 #2F6213 #13621E
triadic
#2F6213 #132F62 #62132F
tetradic
#2F6213 #135662 #461362 #621E13
square
#2F6213 #135662 #461362 #621E13
split-complementary
#2F6213 #1E1362 #621356
monochromatic
#0C1A05 #162F09 #2F6213 #48951D #60C927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6213#FFFFFF#000000##FFFFFF
##2F62131.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)
#665903
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#2C5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f6213;
/* rgb */ color: rgb(47, 98, 19);
/* oklch */ color: oklch(44.4% 0.121 137.0);
Tailwind
colors: {
  custom: {
    50: '#6d8f57',
    500: '#2f6213',
    950: '#000000',
  },
}
SCSS
$custom: #2f6213;
$custom-light: #6d8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6213",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 98.734,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44382,
    "c": 0.12143,
    "h": 137
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#2F6213
secondary
#77379A
accent
#3DEAAD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F6213

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

Preview Lab → · Contrast checker → · Palette generator →

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