#2D3813#2D3813

#2D3813 is a dark, muted yellow-green. Relative luminance 0.034; OKLCH L 32.1% C 0.060 H 123.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#2D3813
RGBrgb(45, 56, 19)
HSLhsl(78, 49%, 15%)
HSVhsv(78, 66%, 22%)
CMYKcmyk(19.6%, 0%, 66.1%, 78%)
CIE-LABlab(21.70, -11.58, 21.24)
CIE-LCHlch(21.70, 24.19, 118.61°)
OKLaboklab(32.1% -0.0329 0.0496)
OKLCHoklch(32.1% 0.06 123.6)
XYZxyz(2.6139, 3.4332, 1.1409)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3813 #1E1338
analogous
#383113 #2D3813 #1B3813
triadic
#2D3813 #132D38 #38132D
tetradic
#2D3813 #133831 #1E1338 #38131B
square
#2D3813 #133831 #1E1338 #38131B
split-complementary
#2D3813 #131B38 #311338
monochromatic
#121708 #121708 #2D3813 #526623 #769332

Accessibility & contrast

On white

12.45
#2D3813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2D3813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3813
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3813#FFFFFF#000000##FFFFFF
##2D38131.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#3A3415
Tritanopia (blue-blind)
#2F3530
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d3813;
/* rgb */ color: rgb(45, 56, 19);
/* oklch */ color: oklch(32.1% 0.060 123.6);
Tailwind
colors: {
  custom: {
    50: '#676e52',
    500: '#2d3813',
    950: '#000000',
  },
}
SCSS
$custom: #2d3813;
$custom-light: #676e52;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3813",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 19
  },
  "hsl": {
    "h": 77.838,
    "s": 49.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32102,
    "c": 0.05953,
    "h": 123.6
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#2D3813
secondary
#483770
accent
#4FD978
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3813

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

Preview Lab → · Contrast checker → · Palette generator →

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