#2F3C12#2F3C12

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

Color values

HEX#2F3C12
RGBrgb(47, 60, 18)
HSLhsl(79, 54%, 15%)
HSVhsv(79, 70%, 24%)
CMYKcmyk(21.7%, 0%, 70%, 76.5%)
CIE-LABlab(23.27, -13.08, 23.59)
CIE-LCHlch(23.27, 26.97, 119.00°)
OKLaboklab(33.41% -0.0373 0.0544)
OKLCHoklch(33.41% 0.066 124.4)
XYZxyz(2.8973, 3.8797, 1.1684)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C12 #1F123C
analogous
#3C3412 #2F3C12 #1A3C12
triadic
#2F3C12 #122F3C #3C122F
tetradic
#2F3C12 #123C34 #1F123C #3C121A
square
#2F3C12 #123C34 #1F123C #3C121A
split-complementary
#2F3C12 #121A3C #34123C
monochromatic
#121807 #121807 #2F3C12 #546B20 #799A2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3C12#FFFFFF#000000##FFFFFF
##2F3C121.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)
#40380D
Deuteranopia (green-blind)
#3E3715
Tritanopia (blue-blind)
#313933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c12;
/* rgb */ color: rgb(47, 60, 18);
/* oklch */ color: oklch(33.4% 0.066 124.4);
Tailwind
colors: {
  custom: {
    50: '#697152',
    500: '#2f3c12',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c12;
$custom-light: #697152;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c12",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 18
  },
  "hsl": {
    "h": 78.571,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33405,
    "c": 0.06602,
    "h": 124.4
  },
  "luminance": 0.0388
}

Semantic roles & 50–950 ramp

primary
#2F3C12
secondary
#493575
accent
#4BDD78
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3C12

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

Preview Lab → · Contrast checker → · Palette generator →

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