#2F3D15#2F3D15

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

Color values

HEX#2F3D15
RGBrgb(47, 61, 21)
HSLhsl(81, 49%, 16%)
HSVhsv(81, 66%, 24%)
CMYKcmyk(23%, 0%, 65.6%, 76.1%)
CIE-LABlab(23.66, -13.34, 22.39)
CIE-LCHlch(23.66, 26.06, 120.79°)
OKLaboklab(33.73% -0.0377 0.0523)
OKLCHoklch(33.73% 0.064 125.8)
XYZxyz(2.9764, 3.9959, 1.3238)
Luminance0.0400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D15 #23153D
analogous
#3D3715 #2F3D15 #1B3D15
triadic
#2F3D15 #152F3D #3D152F
tetradic
#2F3D15 #153D37 #23153D #3D151B
square
#2F3D15 #153D37 #23153D #3D151B
split-complementary
#2F3D15 #151B3D #37153D
monochromatic
#121708 #121708 #2F3D15 #526B25 #759834

Accessibility & contrast

On white

11.67
#2F3D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3D15
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D15#FFFFFF#000000##FFFFFF
##2F3D151.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3d15;
/* rgb */ color: rgb(47, 61, 21);
/* oklch */ color: oklch(33.7% 0.064 125.8);
Tailwind
colors: {
  custom: {
    50: '#697254',
    500: '#2f3d15',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d15;
$custom-light: #697254;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d15",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 21
  },
  "hsl": {
    "h": 81,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33729,
    "c": 0.06448,
    "h": 125.8
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#2F3D15
secondary
#4E3975
accent
#4FD87F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3D15

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

Preview Lab → · Contrast checker → · Palette generator →

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