#2F6210#2F6210

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

Color values

HEX#2F6210
RGBrgb(47, 98, 16)
HSLhsl(97, 72%, 22%)
HSVhsv(97, 84%, 38%)
CMYKcmyk(52%, 0%, 83.7%, 61.6%)
CIE-LABlab(36.70, -32.21, 38.06)
CIE-LCHlch(36.70, 49.86, 130.24°)
OKLaboklab(44.36% -0.0896 0.0845)
OKLCHoklch(44.36% 0.123 136.7)
XYZxyz(5.6333, 9.3767, 2.0032)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6210 #431062
analogous
#586210 #2F6210 #10621A
triadic
#2F6210 #102F62 #62102F
tetradic
#2F6210 #105862 #431062 #621A10
square
#2F6210 #105862 #431062 #621A10
split-complementary
#2F6210 #1A1062 #621058
monochromatic
#0D1A04 #162D07 #2F6210 #489719 #61CB21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6210#FFFFFF#000000##FFFFFF
##2F62101.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)
#665900
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#2C5E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f6210;
/* rgb */ color: rgb(47, 98, 16);
/* oklch */ color: oklch(44.4% 0.123 136.7);
Tailwind
colors: {
  custom: {
    50: '#6e8f56',
    500: '#2f6210',
    950: '#000000',
  },
}
SCSS
$custom: #2f6210;
$custom-light: #6e8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6210",
  "rgb": {
    "r": 47,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 97.317,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44361,
    "c": 0.12315,
    "h": 136.7
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#2F6210
secondary
#74339B
accent
#39EFAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F6210

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

Preview Lab → · Contrast checker → · Palette generator →

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