#2D3F16#2D3F16

#2D3F16 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.068 H 129.3°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#2D3F16
RGBrgb(45, 63, 22)
HSLhsl(86, 48%, 17%)
HSVhsv(86, 65%, 25%)
CMYKcmyk(28.6%, 0%, 65.1%, 75.3%)
CIE-LABlab(24.23, -15.30, 22.44)
CIE-LCHlch(24.23, 27.16, 124.29°)
OKLaboklab(34.16% -0.0429 0.0526)
OKLCHoklch(34.16% 0.068 129.3)
XYZxyz(3.0045, 4.1708, 1.4056)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F16 #28163F
analogous
#3F3D16 #2D3F16 #193F16
triadic
#2D3F16 #162D3F #3F162D
tetradic
#2D3F16 #163F3D #28163F #3F1619
square
#2D3F16 #163F3D #28163F #3F1619
split-complementary
#2D3F16 #16193F #3D163F
monochromatic
#101708 #101708 #2D3F16 #4D6C26 #6E9A36

Accessibility & contrast

On white

11.45
#2D3F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3F16
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F16#FFFFFF#000000##FFFFFF
##2D3F161.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A12
Deuteranopia (green-blind)
#403919
Tritanopia (blue-blind)
#2E3C36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d3f16;
/* rgb */ color: rgb(45, 63, 22);
/* oklch */ color: oklch(34.2% 0.068 129.3);
Tailwind
colors: {
  custom: {
    50: '#677455',
    500: '#2d3f16',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f16;
$custom-light: #677455;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f16",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 22
  },
  "hsl": {
    "h": 86.341,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34155,
    "c": 0.06786,
    "h": 129.3
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#2D3F16
secondary
#553B76
accent
#50D88C
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D3F16

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

Preview Lab → · Contrast checker → · Palette generator →

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