#2F3F0E#2F3F0E

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

Color values

HEX#2F3F0E
RGBrgb(47, 63, 14)
HSLhsl(80, 64%, 15%)
HSVhsv(80, 78%, 25%)
CMYKcmyk(25.4%, 0%, 77.8%, 75.3%)
CIE-LABlab(24.29, -15.15, 26.70)
CIE-LCHlch(24.29, 30.70, 119.57°)
OKLaboklab(34.22% -0.0435 0.0604)
OKLCHoklch(34.22% 0.074 125.8)
XYZxyz(3.0291, 4.1910, 1.0647)
Luminance0.0419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F0E #1E0E3F
analogous
#3F360E #2F3F0E #163F0E
triadic
#2F3F0E #0E2F3F #3F0E2F
tetradic
#2F3F0E #0E3F36 #1E0E3F #3F0E16
square
#2F3F0E #0E3F36 #1E0E3F #3F0E16
split-complementary
#2F3F0E #0E163F #360E3F
monochromatic
#131906 #131906 #2F3F0E #547119 #7AA324

Accessibility & contrast

On white

11.42
#2F3F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3F0E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F0E#FFFFFF#000000##FFFFFF
##2F3F0E1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A07
Deuteranopia (green-blind)
#413912
Tritanopia (blue-blind)
#313C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3f0e;
/* rgb */ color: rgb(47, 63, 14);
/* oklch */ color: oklch(34.2% 0.074 125.8);
Tailwind
colors: {
  custom: {
    50: '#697450',
    500: '#2f3f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f0e;
$custom-light: #697450;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f0e",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 14
  },
  "hsl": {
    "h": 79.592,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34219,
    "c": 0.07441,
    "h": 125.8
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#2F3F0E
secondary
#472F7A
accent
#41E777
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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