#2F3D0F#2F3D0F

#2F3D0F is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.070 H 124.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#2F3D0F
RGBrgb(47, 61, 15)
HSLhsl(78, 61%, 15%)
HSVhsv(78, 75%, 24%)
CMYKcmyk(23%, 0%, 75.4%, 76.1%)
CIE-LABlab(23.59, -13.93, 25.49)
CIE-LCHlch(23.59, 29.05, 118.66°)
OKLaboklab(33.66% -0.04 0.058)
OKLCHoklch(33.66% 0.07 124.6)
XYZxyz(2.9273, 3.9763, 1.0651)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D0F #1D0F3D
analogous
#3D340F #2F3D0F #183D0F
triadic
#2F3D0F #0F2F3D #3D0F2F
tetradic
#2F3D0F #0F3D34 #1D0F3D #3D0F18
square
#2F3D0F #0F3D34 #1D0F3D #3D0F18
split-complementary
#2F3D0F #0F183D #340F3D
monochromatic
#131906 #131906 #2F3D0F #556E1B #7B9F27

Accessibility & contrast

On white

11.70
#2F3D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2F3D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3D0F
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D0F#FFFFFF#000000##FFFFFF
##2F3D0F1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413909
Deuteranopia (green-blind)
#3F3813
Tritanopia (blue-blind)
#313A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f3d0f;
/* rgb */ color: rgb(47, 61, 15);
/* oklch */ color: oklch(33.7% 0.070 124.6);
Tailwind
colors: {
  custom: {
    50: '#697250',
    500: '#2f3d0f',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d0f;
$custom-light: #697250;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d0f",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 15
  },
  "hsl": {
    "h": 78.261,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33656,
    "c": 0.07047,
    "h": 124.6
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#2F3D0F
secondary
#463077
accent
#44E475
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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