#2F3C11#2F3C11

#2F3C11 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.4% C 0.067 H 124.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2F3C11
RGBrgb(47, 60, 17)
HSLhsl(78, 56%, 15%)
HSVhsv(78, 72%, 24%)
CMYKcmyk(21.7%, 0%, 71.7%, 76.5%)
CIE-LABlab(23.26, -13.17, 24.11)
CIE-LCHlch(23.26, 27.48, 118.65°)
OKLaboklab(33.39% -0.0377 0.0554)
OKLCHoklch(33.39% 0.067 124.3)
XYZxyz(2.8893, 3.8765, 1.1262)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C11 #1E113C
analogous
#3C3411 #2F3C11 #193C11
triadic
#2F3C11 #112F3C #3C112F
tetradic
#2F3C11 #113C34 #1E113C #3C1119
square
#2F3C11 #113C34 #1E113C #3C1119
split-complementary
#2F3C11 #11193C #34113C
monochromatic
#131807 #131807 #2F3C11 #546C1F #7A9B2C

Accessibility & contrast

On white

11.83
#2F3C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2F3C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3C11
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C11#FFFFFF#000000##FFFFFF
##2F3C111.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380C
Deuteranopia (green-blind)
#3E3714
Tritanopia (blue-blind)
#313933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c11;
/* rgb */ color: rgb(47, 60, 17);
/* oklch */ color: oklch(33.4% 0.067 124.3);
Tailwind
colors: {
  custom: {
    50: '#697151',
    500: '#2f3c11',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c11;
$custom-light: #697151;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c11",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 17
  },
  "hsl": {
    "h": 78.14,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33393,
    "c": 0.06701,
    "h": 124.3
  },
  "luminance": 0.03877
}

Semantic roles & 50–950 ramp

primary
#2F3C11
secondary
#473375
accent
#49DF76
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3C11

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

Preview Lab → · Contrast checker → · Palette generator →

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