#2D3D0F#2D3D0F

#2D3D0F is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.5% C 0.072 H 126.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#2D3D0F
RGBrgb(45, 61, 15)
HSLhsl(81, 61%, 15%)
HSVhsv(81, 75%, 24%)
CMYKcmyk(26.2%, 0%, 75.4%, 76.1%)
CIE-LABlab(23.44, -14.89, 25.28)
CIE-LCHlch(23.44, 29.34, 120.50°)
OKLaboklab(33.49% -0.0425 0.0576)
OKLCHoklch(33.49% 0.072 126.5)
XYZxyz(2.8372, 3.9298, 1.0609)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D0F #1F0F3D
analogous
#3D360F #2D3D0F #163D0F
triadic
#2D3D0F #0F2D3D #3D0F2D
tetradic
#2D3D0F #0F3D36 #1F0F3D #3D0F16
square
#2D3D0F #0F3D36 #1F0F3D #3D0F16
split-complementary
#2D3D0F #0F163D #360F3D
monochromatic
#121906 #121906 #2D3D0F #516E1B #759F27

Accessibility & contrast

On white

11.76
#2D3D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D3D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D0F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D0F#FFFFFF#000000##FFFFFF
##2D3D0F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413809
Deuteranopia (green-blind)
#3E3813
Tritanopia (blue-blind)
#2F3A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d3d0f;
/* rgb */ color: rgb(45, 61, 15);
/* oklch */ color: oklch(33.5% 0.072 126.5);
Tailwind
colors: {
  custom: {
    50: '#687250',
    500: '#2d3d0f',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d0f;
$custom-light: #687250;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d0f",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 15
  },
  "hsl": {
    "h": 80.87,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33491,
    "c": 0.07159,
    "h": 126.5
  },
  "luminance": 0.0393
}

Semantic roles & 50–950 ramp

primary
#2D3D0F
secondary
#493077
accent
#44E47C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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