#2D3F14#2D3F14

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

Color values

HEX#2D3F14
RGBrgb(45, 63, 20)
HSLhsl(85, 52%, 16%)
HSVhsv(85, 68%, 25%)
CMYKcmyk(28.6%, 0%, 68.3%, 75.3%)
CIE-LABlab(24.20, -15.53, 23.51)
CIE-LCHlch(24.20, 28.18, 123.44°)
OKLaboklab(34.13% -0.0438 0.0546)
OKLCHoklch(34.13% 0.07 128.7)
XYZxyz(2.9859, 4.1633, 1.3080)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F14 #26143F
analogous
#3F3C14 #2D3F14 #183F14
triadic
#2D3F14 #142D3F #3F142D
tetradic
#2D3F14 #143F3C #26143F #3F1418
square
#2D3F14 #143F3C #26143F #3F1418
split-complementary
#2D3F14 #14183F #3C143F
monochromatic
#111707 #111707 #2D3F14 #4E6D23 #6F9C31

Accessibility & contrast

On white

11.46
#2D3F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3F14
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F14#FFFFFF#000000##FFFFFF
##2D3F141.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0F
Deuteranopia (green-blind)
#403917
Tritanopia (blue-blind)
#2F3C36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d3f14;
/* rgb */ color: rgb(45, 63, 20);
/* oklch */ color: oklch(34.1% 0.070 128.7);
Tailwind
colors: {
  custom: {
    50: '#677453',
    500: '#2d3f14',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f14;
$custom-light: #677453;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f14",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 20
  },
  "hsl": {
    "h": 85.116,
    "s": 51.807,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34128,
    "c": 0.06997,
    "h": 128.7
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#2D3F14
secondary
#523877
accent
#4DDB88
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3F14

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

Preview Lab → · Contrast checker → · Palette generator →

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