#2F3F09#2F3F09

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

Color values

HEX#2F3F09
RGBrgb(47, 63, 9)
HSLhsl(78, 75%, 14%)
HSVhsv(78, 86%, 25%)
CMYKcmyk(25.4%, 0%, 85.7%, 75.3%)
CIE-LABlab(24.25, -15.51, 28.85)
CIE-LCHlch(24.25, 32.75, 118.27°)
OKLaboklab(34.18% -0.045 0.0639)
OKLCHoklch(34.18% 0.078 125.1)
XYZxyz(2.9991, 4.1790, 0.9070)
Luminance0.0418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F09 #19093F
analogous
#3F3409 #2F3F09 #143F09
triadic
#2F3F09 #092F3F #3F092F
tetradic
#2F3F09 #093F34 #19093F #3F0914
square
#2F3F09 #093F34 #19093F #3F0914
split-complementary
#2F3F09 #09143F #34093F
monochromatic
#141B04 #141B04 #2F3F09 #577511 #7FAA18

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3F09#FFFFFF#000000##FFFFFF
##2F3F091.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)
#433A01
Deuteranopia (green-blind)
#41390E
Tritanopia (blue-blind)
#323B35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3f09;
/* rgb */ color: rgb(47, 63, 9);
/* oklch */ color: oklch(34.2% 0.078 125.1);
Tailwind
colors: {
  custom: {
    50: '#6a744d',
    500: '#2f3f09',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f09;
$custom-light: #6a744d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f09",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 9
  },
  "hsl": {
    "h": 77.778,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34176,
    "c": 0.0782,
    "h": 125.1
  },
  "luminance": 0.04179
}

Semantic roles & 50–950 ramp

primary
#2F3F09
secondary
#40277D
accent
#36F26E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2F3F09

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

Preview Lab → · Contrast checker → · Palette generator →

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