#2F3F07#2F3F07

#2F3F07 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.080 H 124.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2F3F07
RGBrgb(47, 63, 7)
HSLhsl(77, 80%, 14%)
HSVhsv(77, 89%, 25%)
CMYKcmyk(25.4%, 0%, 88.9%, 75.3%)
CIE-LABlab(24.24, -15.64, 29.65)
CIE-LCHlch(24.24, 33.52, 117.82°)
OKLaboklab(34.16% -0.0456 0.0653)
OKLCHoklch(34.16% 0.08 124.9)
XYZxyz(2.9882, 4.1747, 0.8493)
Luminance0.0418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F07 #17073F
analogous
#3F3307 #2F3F07 #133F07
triadic
#2F3F07 #072F3F #3F072F
tetradic
#2F3F07 #073F33 #17073F #3F0713
square
#2F3F07 #073F33 #17073F #3F0713
split-complementary
#2F3F07 #07133F #33073F
monochromatic
#151C03 #151C03 #2F3F07 #58760D #81AD13

Accessibility & contrast

On white

11.44
#2F3F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3F07
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F07#FFFFFF#000000##FFFFFF
##2F3F071.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#41390D
Tritanopia (blue-blind)
#323B35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3f07;
/* rgb */ color: rgb(47, 63, 7);
/* oklch */ color: oklch(34.2% 0.080 124.9);
Tailwind
colors: {
  custom: {
    50: '#6a744c',
    500: '#2f3f07',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f07;
$custom-light: #6a744c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f07",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 7
  },
  "hsl": {
    "h": 77.143,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.3416,
    "c": 0.07963,
    "h": 124.9
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#2F3F07
secondary
#3D247E
accent
#31F66A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F3F07

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

Preview Lab → · Contrast checker → · Palette generator →

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