#2F3C13#2F3C13

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

Color values

HEX#2F3C13
RGBrgb(47, 60, 19)
HSLhsl(79, 52%, 15%)
HSVhsv(79, 68%, 24%)
CMYKcmyk(21.7%, 0%, 68.3%, 76.5%)
CIE-LABlab(23.28, -12.97, 23.06)
CIE-LCHlch(23.28, 26.46, 119.35°)
OKLaboklab(33.42% -0.0369 0.0535)
OKLCHoklch(33.42% 0.065 124.6)
XYZxyz(2.9057, 3.8830, 1.2124)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C13 #20133C
analogous
#3C3413 #2F3C13 #1A3C13
triadic
#2F3C13 #132F3C #3C132F
tetradic
#2F3C13 #133C34 #20133C #3C131A
square
#2F3C13 #133C34 #20133C #3C131A
split-complementary
#2F3C13 #131A3C #34133C
monochromatic
#121707 #121707 #2F3C13 #536A22 #789930

Accessibility & contrast

On white

11.82
#2F3C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3C13
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C13#FFFFFF#000000##FFFFFF
##2F3C131.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3c13;
/* rgb */ color: rgb(47, 60, 19);
/* oklch */ color: oklch(33.4% 0.065 124.6);
Tailwind
colors: {
  custom: {
    50: '#697152',
    500: '#2f3c13',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c13;
$custom-light: #697152;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c13",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 19
  },
  "hsl": {
    "h": 79.024,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33417,
    "c": 0.06498,
    "h": 124.6
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#2F3C13
secondary
#4A3674
accent
#4CDB7A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3C13

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

Preview Lab → · Contrast checker → · Palette generator →

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