#2F3E0F#2F3E0F

#2F3E0F is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.072 H 125.3°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#2F3E0F
RGBrgb(47, 62, 15)
HSLhsl(79, 61%, 15%)
HSVhsv(79, 76%, 24%)
CMYKcmyk(24.2%, 0%, 75.8%, 75.7%)
CIE-LABlab(23.95, -14.50, 25.86)
CIE-LCHlch(23.95, 29.65, 119.28°)
OKLaboklab(33.94% -0.0416 0.0588)
OKLCHoklch(33.94% 0.072 125.3)
XYZxyz(2.9812, 4.0840, 1.0831)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E0F #1E0F3E
analogous
#3E350F #2F3E0F #173E0F
triadic
#2F3E0F #0F2F3E #3E0F2F
tetradic
#2F3E0F #0F3E35 #1E0F3E #3E0F17
square
#2F3E0F #0F3E35 #1E0F3E #3E0F17
split-complementary
#2F3E0F #0F173E #350F3E
monochromatic
#131906 #131906 #2F3E0F #546F1B #7AA127

Accessibility & contrast

On white

11.56
#2F3E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F3E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E0F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E0F#FFFFFF#000000##FFFFFF
##2F3E0F1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423909
Deuteranopia (green-blind)
#403913
Tritanopia (blue-blind)
#313B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f3e0f;
/* rgb */ color: rgb(47, 62, 15);
/* oklch */ color: oklch(33.9% 0.072 125.3);
Tailwind
colors: {
  custom: {
    50: '#697350',
    500: '#2f3e0f',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e0f;
$custom-light: #697350;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e0f",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 15
  },
  "hsl": {
    "h": 79.149,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33942,
    "c": 0.07201,
    "h": 125.3
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

primary
#2F3E0F
secondary
#473078
accent
#44E477
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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