#2F6010#2F6010

#2F6010 is a dark, vivid yellow-green. Relative luminance 0.090; OKLCH L 43.8% C 0.120 H 136.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2F6010
RGBrgb(47, 96, 16)
HSLhsl(97, 71%, 22%)
HSVhsv(97, 83%, 38%)
CMYKcmyk(51%, 0%, 83.3%, 62.4%)
CIE-LABlab(36.00, -31.34, 37.40)
CIE-LCHlch(36.00, 48.80, 129.96°)
OKLaboklab(43.78% -0.0873 0.0831)
OKLCHoklch(43.78% 0.121 136.4)
XYZxyz(5.4485, 9.0071, 1.9416)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6010 #411060
analogous
#576010 #2F6010 #106019
triadic
#2F6010 #102F60 #60102F
tetradic
#2F6010 #105760 #411060 #601910
square
#2F6010 #105760 #411060 #601910
split-complementary
#2F6010 #191060 #601057
monochromatic
#0D1A04 #152C07 #2F6010 #499419 #62C921

Accessibility & contrast

On white

7.50
#2F6010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F6010
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6010#FFFFFF#000000##FFFFFF
##2F60101.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#2D5C51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2f6010;
/* rgb */ color: rgb(47, 96, 16);
/* oklch */ color: oklch(43.8% 0.120 136.4);
Tailwind
colors: {
  custom: {
    50: '#6d8d56',
    500: '#2f6010',
    950: '#000000',
  },
}
SCSS
$custom: #2f6010;
$custom-light: #6d8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6010",
  "rgb": {
    "r": 47,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 96.75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43784,
    "c": 0.1205,
    "h": 136.4
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#2F6010
secondary
#713399
accent
#3AEEA8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F6010

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

Preview Lab → · Contrast checker → · Palette generator →

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