#2F3F08#2F3F08

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

Color values

HEX#2F3F08
RGBrgb(47, 63, 8)
HSLhsl(77, 77%, 14%)
HSVhsv(77, 87%, 25%)
CMYKcmyk(25.4%, 0%, 87.3%, 75.3%)
CIE-LABlab(24.25, -15.58, 29.24)
CIE-LCHlch(24.25, 33.13, 118.04°)
OKLaboklab(34.17% -0.0453 0.0646)
OKLCHoklch(34.17% 0.079 125)
XYZxyz(2.9937, 4.1768, 0.8782)
Luminance0.0418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F08 #18083F
analogous
#3F3408 #2F3F08 #143F08
triadic
#2F3F08 #082F3F #3F082F
tetradic
#2F3F08 #083F34 #18083F #3F0814
square
#2F3F08 #083F34 #18083F #3F0814
split-complementary
#2F3F08 #08143F #34083F
monochromatic
#141B03 #141B03 #2F3F08 #58750F #80AC16

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3F08#FFFFFF#000000##FFFFFF
##2F3F081.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: #2f3f08;
/* rgb */ color: rgb(47, 63, 8);
/* oklch */ color: oklch(34.2% 0.079 125.0);
Tailwind
colors: {
  custom: {
    50: '#6a744d',
    500: '#2f3f08',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f08;
$custom-light: #6a744d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f08",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 77.455,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34168,
    "c": 0.07892,
    "h": 125
  },
  "luminance": 0.04177
}

Semantic roles & 50–950 ramp

primary
#2F3F08
secondary
#3F257E
accent
#34F46C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F3F08

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

Preview Lab → · Contrast checker → · Palette generator →

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