#2F3F14#2F3F14

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

Color values

HEX#2F3F14
RGBrgb(47, 63, 20)
HSLhsl(82, 52%, 16%)
HSVhsv(82, 68%, 25%)
CMYKcmyk(25.4%, 0%, 68.3%, 75.3%)
CIE-LABlab(24.35, -14.60, 23.72)
CIE-LCHlch(24.35, 27.85, 121.61°)
OKLaboklab(34.29% -0.0413 0.055)
OKLCHoklch(34.29% 0.069 126.9)
XYZxyz(3.0761, 4.2098, 1.3122)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F14 #24143F
analogous
#3F3A14 #2F3F14 #1A3F14
triadic
#2F3F14 #142F3F #3F142F
tetradic
#2F3F14 #143F3A #24143F #3F141A
square
#2F3F14 #143F3A #24143F #3F141A
split-complementary
#2F3F14 #141A3F #3A143F
monochromatic
#111707 #111707 #2F3F14 #526D23 #749C31

Accessibility & contrast

On white

11.40
#2F3F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3F14
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F14#FFFFFF#000000##FFFFFF
##2F3F141.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B0F
Deuteranopia (green-blind)
#403A17
Tritanopia (blue-blind)
#313C36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3f14;
/* rgb */ color: rgb(47, 63, 20);
/* oklch */ color: oklch(34.3% 0.069 126.9);
Tailwind
colors: {
  custom: {
    50: '#697453',
    500: '#2f3f14',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f14;
$custom-light: #697453;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f14",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 20
  },
  "hsl": {
    "h": 82.326,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34287,
    "c": 0.0688,
    "h": 126.9
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#2F3F14
secondary
#4F3877
accent
#4DDB82
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3F14

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

Preview Lab → · Contrast checker → · Palette generator →

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