#2F3E12#2F3E12

#2F3E12 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.069 H 125.9°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#2F3E12
RGBrgb(47, 62, 18)
HSLhsl(80, 55%, 16%)
HSVhsv(80, 71%, 24%)
CMYKcmyk(24.2%, 0%, 71%, 75.7%)
CIE-LABlab(23.98, -14.23, 24.37)
CIE-LCHlch(23.98, 28.22, 120.28°)
OKLaboklab(33.98% -0.0405 0.0561)
OKLCHoklch(33.98% 0.069 125.9)
XYZxyz(3.0041, 4.0932, 1.2040)
Luminance0.0409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E12 #21123E
analogous
#3E3712 #2F3E12 #193E12
triadic
#2F3E12 #122F3E #3E122F
tetradic
#2F3E12 #123E37 #21123E #3E1219
square
#2F3E12 #123E37 #21123E #3E1219
split-complementary
#2F3E12 #12193E #37123E
monochromatic
#121807 #121807 #2F3E12 #536D20 #779D2E

Accessibility & contrast

On white

11.55
#2F3E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F3E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E12
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E12#FFFFFF#000000##FFFFFF
##2F3E121.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0D
Deuteranopia (green-blind)
#403915
Tritanopia (blue-blind)
#313B35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f3e12;
/* rgb */ color: rgb(47, 62, 18);
/* oklch */ color: oklch(34.0% 0.069 125.9);
Tailwind
colors: {
  custom: {
    50: '#697352',
    500: '#2f3e12',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e12;
$custom-light: #697352;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e12",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 18
  },
  "hsl": {
    "h": 80.455,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33976,
    "c": 0.06921,
    "h": 125.9
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

primary
#2F3E12
secondary
#4B3577
accent
#49DE7C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3E12

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

Preview Lab → · Contrast checker → · Palette generator →

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