#2D4113#2D4113

#2D4113 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.074 H 129.5°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#2D4113
RGBrgb(45, 65, 19)
HSLhsl(86, 55%, 16%)
HSVhsv(86, 71%, 25%)
CMYKcmyk(30.8%, 0%, 70.8%, 74.5%)
CIE-LABlab(24.91, -16.74, 24.82)
CIE-LCHlch(24.91, 29.94, 124.00°)
OKLaboklab(34.69% -0.0472 0.0572)
OKLCHoklch(34.69% 0.074 129.5)
XYZxyz(3.0900, 4.3854, 1.2996)
Luminance0.0439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4113 #271341
analogous
#413E13 #2D4113 #164113
triadic
#2D4113 #132D41 #41132D
tetradic
#2D4113 #13413E #271341 #411316
square
#2D4113 #13413E #271341 #411316
split-complementary
#2D4113 #131641 #3E1341
monochromatic
#101807 #101807 #2D4113 #4E7021 #6FA02F

Accessibility & contrast

On white

11.19
#2D4113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D4113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4113
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4113#FFFFFF#000000##FFFFFF
##2D41131.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0D
Deuteranopia (green-blind)
#413B16
Tritanopia (blue-blind)
#2E3E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d4113;
/* rgb */ color: rgb(45, 65, 19);
/* oklch */ color: oklch(34.7% 0.074 129.5);
Tailwind
colors: {
  custom: {
    50: '#687553',
    500: '#2d4113',
    950: '#000000',
  },
}
SCSS
$custom: #2d4113;
$custom-light: #687553;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4113",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 19
  },
  "hsl": {
    "h": 86.087,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34694,
    "c": 0.0742,
    "h": 129.5
  },
  "luminance": 0.04385
}

Semantic roles & 50–950 ramp

primary
#2D4113
secondary
#54367A
accent
#4ADE8A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D4113

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

Preview Lab → · Contrast checker → · Palette generator →

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