#2D3810#2D3810

#2D3810 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.1% C 0.063 H 123.0°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#2D3810
RGBrgb(45, 56, 16)
HSLhsl(77, 56%, 14%)
HSVhsv(77, 71%, 22%)
CMYKcmyk(19.6%, 0%, 71.4%, 78%)
CIE-LABlab(21.67, -11.90, 22.86)
CIE-LCHlch(21.67, 25.77, 117.49°)
OKLaboklab(32.06% -0.0341 0.0526)
OKLCHoklch(32.06% 0.063 123)
XYZxyz(2.5899, 3.4236, 1.0145)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3810 #1B1038
analogous
#382F10 #2D3810 #193810
triadic
#2D3810 #102D38 #38102D
tetradic
#2D3810 #10382F #1B1038 #381019
square
#2D3810 #10382F #1B1038 #381019
split-complementary
#2D3810 #101938 #2F1038
monochromatic
#131807 #131807 #2D3810 #53681E #7A972B

Accessibility & contrast

On white

12.46
#2D3810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D3810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3810
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3810#FFFFFF#000000##FFFFFF
##2D38101.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3810;
/* rgb */ color: rgb(45, 56, 16);
/* oklch */ color: oklch(32.1% 0.063 123.0);
Tailwind
colors: {
  custom: {
    50: '#676e50',
    500: '#2d3810',
    950: '#000000',
  },
}
SCSS
$custom: #2d3810;
$custom-light: #676e50;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3810",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 16
  },
  "hsl": {
    "h": 76.5,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32063,
    "c": 0.06273,
    "h": 123
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#2D3810
secondary
#443272
accent
#49DF72
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3810

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

Preview Lab → · Contrast checker → · Palette generator →

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