#2F6014#2F6014

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

Color values

HEX#2F6014
RGBrgb(47, 96, 20)
HSLhsl(99, 66%, 23%)
HSVhsv(99, 79%, 38%)
CMYKcmyk(51%, 0%, 79.2%, 62.4%)
CIE-LABlab(36.02, -31.06, 35.94)
CIE-LCHlch(36.02, 47.50, 130.83°)
OKLaboklab(43.81% -0.0862 0.0807)
OKLCHoklch(43.81% 0.118 136.9)
XYZxyz(5.4813, 9.0202, 2.1139)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6014 #451460
analogous
#556014 #2F6014 #14601F
triadic
#2F6014 #142F60 #60142F
tetradic
#2F6014 #145560 #451460 #601F14
square
#2F6014 #145560 #451460 #601F14
split-complementary
#2F6014 #1F1460 #601455
monochromatic
#0C1905 #162D09 #2F6014 #48931F #61C529

Accessibility & contrast

On white

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

On black

2.80
#2F6014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F6014#FFFFFF#000000##FFFFFF
##2F60141.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635705
Deuteranopia (green-blind)
#5D531C
Tritanopia (blue-blind)
#2C5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f6014;
/* rgb */ color: rgb(47, 96, 20);
/* oklch */ color: oklch(43.8% 0.118 136.9);
Tailwind
colors: {
  custom: {
    50: '#6d8d58',
    500: '#2f6014',
    950: '#000000',
  },
}
SCSS
$custom: #2f6014;
$custom-light: #6d8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6014",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 98.684,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43813,
    "c": 0.1181,
    "h": 136.9
  },
  "luminance": 0.09021
}

Semantic roles & 50–950 ramp

primary
#2F6014
secondary
#763898
accent
#3FE8AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F6014

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

Preview Lab → · Contrast checker → · Palette generator →

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