#2F6016#2F6016

#2F6016 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 43.8% C 0.117 H 137.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#2F6016
RGBrgb(47, 96, 22)
HSLhsl(100, 63%, 23%)
HSVhsv(100, 77%, 38%)
CMYKcmyk(51%, 0%, 77.1%, 62.4%)
CIE-LABlab(36.04, -30.91, 35.15)
CIE-LCHlch(36.04, 46.81, 131.32°)
OKLaboklab(43.83% -0.0857 0.0794)
OKLCHoklch(43.83% 0.117 137.2)
XYZxyz(5.4998, 9.0276, 2.2116)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6016 #471660
analogous
#546016 #2F6016 #166022
triadic
#2F6016 #162F60 #60162F
tetradic
#2F6016 #165460 #471660 #602216
square
#2F6016 #165460 #471660 #602216
split-complementary
#2F6016 #221660 #601654
monochromatic
#0C1906 #172E0B #2F6016 #479221 #60C42D

Accessibility & contrast

On white

7.49
#2F6016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2F6016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6016
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6016#FFFFFF#000000##FFFFFF
##2F60161.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635709
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#2C5C52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f6016;
/* rgb */ color: rgb(47, 96, 22);
/* oklch */ color: oklch(43.8% 0.117 137.2);
Tailwind
colors: {
  custom: {
    50: '#6d8d59',
    500: '#2f6016',
    950: '#000000',
  },
}
SCSS
$custom: #2f6016;
$custom-light: #6d8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6016",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 22
  },
  "hsl": {
    "h": 99.73,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43829,
    "c": 0.11678,
    "h": 137.2
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#2F6016
secondary
#783B97
accent
#42E6AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2F6016

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

Preview Lab → · Contrast checker → · Palette generator →

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