#2F3A06#2F3A06

#2F3A06 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.7% C 0.073 H 121.3°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2F3A06
RGBrgb(47, 58, 6)
HSLhsl(73, 81%, 13%)
HSVhsv(73, 90%, 23%)
CMYKcmyk(19%, 0%, 89.7%, 77.3%)
CIE-LABlab(22.46, -12.85, 28.24)
CIE-LCHlch(22.46, 31.03, 114.47°)
OKLaboklab(32.71% -0.0381 0.0626)
OKLCHoklch(32.71% 0.073 121.3)
XYZxyz(2.7183, 3.6436, 0.7323)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A06 #11063A
analogous
#3A2B06 #2F3A06 #153A06
triadic
#2F3A06 #062F3A #3A062F
tetradic
#2F3A06 #063A2B #11063A #3A0615
square
#2F3A06 #063A2B #11063A #3A0615
split-complementary
#2F3A06 #06153A #2B063A
monochromatic
#161C03 #161C03 #2F3A06 #5C710C #89A911

Accessibility & contrast

On white

12.15
#2F3A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2F3A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3A06
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A06#FFFFFF#000000##FFFFFF
##2F3A061.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3D360B
Tritanopia (blue-blind)
#323630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3a06;
/* rgb */ color: rgb(47, 58, 6);
/* oklch */ color: oklch(32.7% 0.073 121.3);
Tailwind
colors: {
  custom: {
    50: '#6a704b',
    500: '#2f3a06',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a06;
$custom-light: #6a704b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a06",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 72.692,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32715,
    "c": 0.07325,
    "h": 121.3
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

primary
#2F3A06
secondary
#34227A
accent
#30F85A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3A06

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

Preview Lab → · Contrast checker → · Palette generator →

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