#2D3F11#2D3F11

#2D3F11 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.1% C 0.073 H 128.0°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2D3F11
RGBrgb(45, 63, 17)
HSLhsl(83, 58%, 16%)
HSVhsv(83, 73%, 25%)
CMYKcmyk(28.6%, 0%, 73%, 75.3%)
CIE-LABlab(24.17, -15.83, 25.05)
CIE-LCHlch(24.17, 29.64, 122.29°)
OKLaboklab(34.09% -0.0449 0.0574)
OKLCHoklch(34.09% 0.073 128)
XYZxyz(2.9609, 4.1533, 1.1759)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F11 #23113F
analogous
#3F3A11 #2D3F11 #163F11
triadic
#2D3F11 #112D3F #3F112D
tetradic
#2D3F11 #113F3A #23113F #3F1116
square
#2D3F11 #113F3A #23113F #3F1116
split-complementary
#2D3F11 #11163F #3A113F
monochromatic
#111807 #111807 #2D3F11 #4F6F1E #729F2B

Accessibility & contrast

On white

11.47
#2D3F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D3F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3F11
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F11#FFFFFF#000000##FFFFFF
##2D3F111.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0B
Deuteranopia (green-blind)
#403915
Tritanopia (blue-blind)
#2F3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3f11;
/* rgb */ color: rgb(45, 63, 17);
/* oklch */ color: oklch(34.1% 0.073 128.0);
Tailwind
colors: {
  custom: {
    50: '#687451',
    500: '#2d3f11',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f11;
$custom-light: #687451;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f11",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 17
  },
  "hsl": {
    "h": 83.478,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34091,
    "c": 0.07291,
    "h": 128
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#2D3F11
secondary
#4E3378
accent
#47E183
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3F11

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

Preview Lab → · Contrast checker → · Palette generator →

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