#2D4313#2D4313

#2D4313 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.3% C 0.077 H 130.5°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2D4313
RGBrgb(45, 67, 19)
HSLhsl(88, 56%, 17%)
HSVhsv(88, 72%, 26%)
CMYKcmyk(32.8%, 0%, 71.6%, 73.7%)
CIE-LABlab(25.62, -17.83, 25.60)
CIE-LCHlch(25.62, 31.20, 124.86°)
OKLaboklab(35.27% -0.0502 0.0589)
OKLCHoklch(35.27% 0.077 130.5)
XYZxyz(3.2069, 4.6191, 1.3386)
Luminance0.0462 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4313 #291343
analogous
#434113 #2D4313 #154313
triadic
#2D4313 #132D43 #43132D
tetradic
#2D4313 #134341 #291343 #431315
square
#2D4313 #134341 #291343 #431315
split-complementary
#2D4313 #131543 #411343
monochromatic
#101807 #101807 #2D4313 #4D7321 #6DA22E

Accessibility & contrast

On white

10.92
#2D4313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D4313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4313
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4313#FFFFFF#000000##FFFFFF
##2D43131.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E0D
Deuteranopia (green-blind)
#433C17
Tritanopia (blue-blind)
#2E4039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d4313;
/* rgb */ color: rgb(45, 67, 19);
/* oklch */ color: oklch(35.3% 0.077 130.5);
Tailwind
colors: {
  custom: {
    50: '#687753',
    500: '#2d4313',
    950: '#000000',
  },
}
SCSS
$custom: #2d4313;
$custom-light: #687753;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4313",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 19
  },
  "hsl": {
    "h": 87.5,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35274,
    "c": 0.07739,
    "h": 130.5
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#2D4313
secondary
#56367C
accent
#49DF8E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D4313

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

Preview Lab → · Contrast checker → · Palette generator →

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