#2F3F15#2F3F15

#2F3F15 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.068 H 127.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2F3F15
RGBrgb(47, 63, 21)
HSLhsl(83, 50%, 16%)
HSVhsv(83, 67%, 25%)
CMYKcmyk(25.4%, 0%, 66.7%, 75.3%)
CIE-LABlab(24.36, -14.49, 23.19)
CIE-LCHlch(24.36, 27.34, 122.00°)
OKLaboklab(34.3% -0.0409 0.054)
OKLCHoklch(34.3% 0.068 127.2)
XYZxyz(3.0851, 4.2134, 1.3601)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F15 #25153F
analogous
#3F3A15 #2F3F15 #1A3F15
triadic
#2F3F15 #152F3F #3F152F
tetradic
#2F3F15 #153F3A #25153F #3F151A
square
#2F3F15 #153F3A #25153F #3F151A
split-complementary
#2F3F15 #151A3F #3A153F
monochromatic
#111708 #111708 #2F3F15 #516D24 #739B34

Accessibility & contrast

On white

11.40
#2F3F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3F15
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F15#FFFFFF#000000##FFFFFF
##2F3F151.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B10
Deuteranopia (green-blind)
#403A18
Tritanopia (blue-blind)
#313C36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3f15;
/* rgb */ color: rgb(47, 63, 21);
/* oklch */ color: oklch(34.3% 0.068 127.2);
Tailwind
colors: {
  custom: {
    50: '#697454',
    500: '#2f3f15',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f15;
$custom-light: #697454;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f15",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 21
  },
  "hsl": {
    "h": 82.857,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.343,
    "c": 0.06776,
    "h": 127.2
  },
  "luminance": 0.04213
}

Semantic roles & 50–950 ramp

primary
#2F3F15
secondary
#513977
accent
#4EDA83
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2F3F15

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

Preview Lab → · Contrast checker → · Palette generator →

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