#2F3F06#2F3F06

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

Color values

HEX#2F3F06
RGBrgb(47, 63, 6)
HSLhsl(77, 83%, 14%)
HSVhsv(77, 90%, 25%)
CMYKcmyk(25.4%, 0%, 90.5%, 75.3%)
CIE-LABlab(24.23, -15.71, 30.05)
CIE-LCHlch(24.23, 33.91, 117.60°)
OKLaboklab(34.15% -0.0459 0.066)
OKLCHoklch(34.15% 0.08 124.8)
XYZxyz(2.9827, 4.1725, 0.8205)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F06 #16063F
analogous
#3F3206 #2F3F06 #123F06
triadic
#2F3F06 #062F3F #3F062F
tetradic
#2F3F06 #063F32 #16063F #3F0612
square
#2F3F06 #063F32 #16063F #3F0612
split-complementary
#2F3F06 #06123F #32063F
monochromatic
#151C03 #151C03 #2F3F06 #59770B #82AF11

Accessibility & contrast

On white

11.45
#2F3F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2F3F06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3F06
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F06#FFFFFF#000000##FFFFFF
##2F3F061.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3f06;
/* rgb */ color: rgb(47, 63, 6);
/* oklch */ color: oklch(34.2% 0.080 124.8);
Tailwind
colors: {
  custom: {
    50: '#6a744c',
    500: '#2f3f06',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f06;
$custom-light: #6a744c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f06",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 6
  },
  "hsl": {
    "h": 76.842,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34152,
    "c": 0.08036,
    "h": 124.8
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

primary
#2F3F06
secondary
#3C227F
accent
#2FF968
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F3F06

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

Preview Lab → · Contrast checker → · Palette generator →

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