#2F6013#2F6013

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

Color values

HEX#2F6013
RGBrgb(47, 96, 19)
HSLhsl(98, 67%, 23%)
HSVhsv(98, 80%, 38%)
CMYKcmyk(51%, 0%, 80.2%, 62.4%)
CIE-LABlab(36.02, -31.14, 36.32)
CIE-LCHlch(36.02, 47.84, 130.60°)
OKLaboklab(43.81% -0.0865 0.0813)
OKLCHoklch(43.81% 0.119 136.8)
XYZxyz(5.4725, 9.0167, 2.0680)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6013 #441360
analogous
#556013 #2F6013 #13601E
triadic
#2F6013 #132F60 #60132F
tetradic
#2F6013 #135560 #441360 #601E13
square
#2F6013 #135560 #441360 #601E13
split-complementary
#2F6013 #1E1360 #601355
monochromatic
#0D1A05 #162D09 #2F6013 #48931D #61C627

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6013#FFFFFF#000000##FFFFFF
##2F60131.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)
#645704
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#2C5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f6013;
/* rgb */ color: rgb(47, 96, 19);
/* oklch */ color: oklch(43.8% 0.119 136.8);
Tailwind
colors: {
  custom: {
    50: '#6d8d57',
    500: '#2f6013',
    950: '#000000',
  },
}
SCSS
$custom: #2f6013;
$custom-light: #6d8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6013",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 19
  },
  "hsl": {
    "h": 98.182,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43805,
    "c": 0.11873,
    "h": 136.8
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#2F6013
secondary
#753798
accent
#3EEAAB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F6013

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

Preview Lab → · Contrast checker → · Palette generator →

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