#2F6411#2F6411

#2F6411 is a dark, vivid yellow-green. Relative luminance 0.098; OKLCH L 44.9% C 0.125 H 137.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2F6411
RGBrgb(47, 100, 17)
HSLhsl(98, 71%, 23%)
HSVhsv(98, 83%, 39%)
CMYKcmyk(53%, 0%, 83%, 60.8%)
CIE-LABlab(37.41, -33.00, 38.39)
CIE-LCHlch(37.41, 50.63, 130.69°)
OKLaboklab(44.94% -0.0917 0.0853)
OKLCHoklch(44.94% 0.125 137.1)
XYZxyz(5.8305, 9.7587, 2.1066)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6411 #461164
analogous
#586411 #2F6411 #11641C
triadic
#2F6411 #112F64 #64112F
tetradic
#2F6411 #115864 #461164 #641C11
square
#2F6411 #115864 #461164 #641C11
split-complementary
#2F6411 #1C1164 #641158
monochromatic
#0C1A04 #163008 #2F6411 #48981A #60CD23

Accessibility & contrast

On white

7.11
#2F6411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2F6411 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6411
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6411#FFFFFF#000000##FFFFFF
##2F64111.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#61561A
Tritanopia (blue-blind)
#2C6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f6411;
/* rgb */ color: rgb(47, 100, 17);
/* oklch */ color: oklch(44.9% 0.125 137.1);
Tailwind
colors: {
  custom: {
    50: '#6e9157',
    500: '#2f6411',
    950: '#000000',
  },
}
SCSS
$custom: #2f6411;
$custom-light: #6e9157;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6411",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 17
  },
  "hsl": {
    "h": 98.313,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44944,
    "c": 0.12524,
    "h": 137.1
  },
  "luminance": 0.09759
}

Semantic roles & 50–950 ramp

primary
#2F6411
secondary
#77359C
accent
#3AEEAD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080D03
muted
#7B7D78

Preview Lab

Preview with #2F6411

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

Preview Lab → · Contrast checker → · Palette generator →

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