#2D350C#2D350C

#2D350C is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 31.2% C 0.062 H 119.6°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2D350C
RGBrgb(45, 53, 12)
HSLhsl(72, 63%, 13%)
HSVhsv(72, 77%, 21%)
CMYKcmyk(15.1%, 0%, 77.4%, 79.2%)
CIE-LABlab(20.56, -10.46, 23.65)
CIE-LCHlch(20.56, 25.86, 113.85°)
OKLaboklab(31.16% -0.0306 0.0539)
OKLCHoklch(31.16% 0.062 119.6)
XYZxyz(2.4217, 3.1307, 0.8245)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D350C #140C35
analogous
#35280C #2D350C #19350C
triadic
#2D350C #0C2D35 #350C2D
tetradic
#2D350C #0C3528 #140C35 #350C19
square
#2D350C #0C3528 #140C35 #350C19
split-complementary
#2D350C #0C1935 #280C35
monochromatic
#151906 #151906 #2D350C #576717 #829923

Accessibility & contrast

On white

12.91
#2D350C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2D350C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D350C
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D350C#FFFFFF#000000##FFFFFF
##2D350C1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393207
Deuteranopia (green-blind)
#38320F
Tritanopia (blue-blind)
#30322D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d350c;
/* rgb */ color: rgb(45, 53, 12);
/* oklch */ color: oklch(31.2% 0.062 119.6);
Tailwind
colors: {
  custom: {
    50: '#676c4d',
    500: '#2d350c',
    950: '#000000',
  },
}
SCSS
$custom: #2d350c;
$custom-light: #676c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d350c",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 12
  },
  "hsl": {
    "h": 71.707,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31158,
    "c": 0.06196,
    "h": 119.6
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#2D350C
secondary
#392C71
accent
#42E662
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D350C

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

Preview Lab → · Contrast checker → · Palette generator →

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