#2D3E0F#2D3E0F

#2D3E0F is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.8% C 0.073 H 127.1°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#2D3E0F
RGBrgb(45, 62, 15)
HSLhsl(82, 61%, 15%)
HSVhsv(82, 76%, 24%)
CMYKcmyk(27.4%, 0%, 75.8%, 75.7%)
CIE-LABlab(23.80, -15.45, 25.66)
CIE-LCHlch(23.80, 29.95, 121.06°)
OKLaboklab(33.78% -0.0441 0.0584)
OKLCHoklch(33.78% 0.073 127.1)
XYZxyz(2.8910, 4.0376, 1.0789)
Luminance0.0404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E0F #200F3E
analogous
#3E370F #2D3E0F #163E0F
triadic
#2D3E0F #0F2D3E #3E0F2D
tetradic
#2D3E0F #0F3E37 #200F3E #3E0F16
square
#2D3E0F #0F3E37 #200F3E #3E0F16
split-complementary
#2D3E0F #0F163E #370F3E
monochromatic
#121906 #121906 #2D3E0F #516F1B #75A127

Accessibility & contrast

On white

11.62
#2D3E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D3E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E0F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E0F#FFFFFF#000000##FFFFFF
##2D3E0F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423909
Deuteranopia (green-blind)
#3F3813
Tritanopia (blue-blind)
#2F3B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3e0f;
/* rgb */ color: rgb(45, 62, 15);
/* oklch */ color: oklch(33.8% 0.073 127.1);
Tailwind
colors: {
  custom: {
    50: '#687350',
    500: '#2d3e0f',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e0f;
$custom-light: #687350;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e0f",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 15
  },
  "hsl": {
    "h": 81.702,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.3378,
    "c": 0.07316,
    "h": 127.1
  },
  "luminance": 0.04038
}

Semantic roles & 50–950 ramp

primary
#2D3E0F
secondary
#4A3078
accent
#44E47E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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