#2F3F11#2F3F11

#2F3F11 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.072 H 126.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2F3F11
RGBrgb(47, 63, 17)
HSLhsl(81, 58%, 16%)
HSVhsv(81, 73%, 25%)
CMYKcmyk(25.4%, 0%, 73%, 75.3%)
CIE-LABlab(24.32, -14.89, 25.26)
CIE-LCHlch(24.32, 29.32, 120.52°)
OKLaboklab(34.25% -0.0425 0.0578)
OKLCHoklch(34.25% 0.072 126.3)
XYZxyz(3.0510, 4.1998, 1.1801)
Luminance0.0420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F11 #21113F
analogous
#3F3811 #2F3F11 #183F11
triadic
#2F3F11 #112F3F #3F112F
tetradic
#2F3F11 #113F38 #21113F #3F1118
square
#2F3F11 #113F38 #21113F #3F1118
split-complementary
#2F3F11 #11183F #38113F
monochromatic
#121807 #121807 #2F3F11 #536F1E #779F2B

Accessibility & contrast

On white

11.41
#2F3F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2F3F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3F11
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F11#FFFFFF#000000##FFFFFF
##2F3F111.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A0B
Deuteranopia (green-blind)
#403A14
Tritanopia (blue-blind)
#313C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3f11;
/* rgb */ color: rgb(47, 63, 17);
/* oklch */ color: oklch(34.3% 0.072 126.3);
Tailwind
colors: {
  custom: {
    50: '#697451',
    500: '#2f3f11',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f11;
$custom-light: #697451;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f11",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 17
  },
  "hsl": {
    "h": 80.87,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34251,
    "c": 0.07175,
    "h": 126.3
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#2F3F11
secondary
#4B3378
accent
#47E17D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3F11

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

Preview Lab → · Contrast checker → · Palette generator →

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