#2F3D12#2F3D12

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

Color values

HEX#2F3D12
RGBrgb(47, 61, 18)
HSLhsl(80, 54%, 15%)
HSVhsv(80, 70%, 24%)
CMYKcmyk(23%, 0%, 70.5%, 76.1%)
CIE-LABlab(23.62, -13.66, 23.98)
CIE-LCHlch(23.62, 27.60, 119.66°)
OKLaboklab(33.69% -0.0389 0.0553)
OKLCHoklch(33.69% 0.068 125.2)
XYZxyz(2.9502, 3.9855, 1.1860)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3D12 #20123D
analogous
#3D3512 #2F3D12 #193D12
triadic
#2F3D12 #122F3D #3D122F
tetradic
#2F3D12 #123D35 #20123D #3D1219
square
#2F3D12 #123D35 #20123D #3D1219
split-complementary
#2F3D12 #12193D #35123D
monochromatic
#121807 #121807 #2F3D12 #536C20 #789C2E

Accessibility & contrast

On white

11.69
#2F3D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3D12
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3D12#FFFFFF#000000##FFFFFF
##2F3D121.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3F3815
Tritanopia (blue-blind)
#313A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2f3d12;
/* rgb */ color: rgb(47, 61, 18);
/* oklch */ color: oklch(33.7% 0.068 125.2);
Tailwind
colors: {
  custom: {
    50: '#697252',
    500: '#2f3d12',
    950: '#000000',
  },
}
SCSS
$custom: #2f3d12;
$custom-light: #697252;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3d12",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 79.535,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.3369,
    "c": 0.06762,
    "h": 125.2
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#2F3D12
secondary
#4A3576
accent
#4ADE7A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3D12

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

Preview Lab → · Contrast checker → · Palette generator →

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