#2D3508#2D3508

#2D3508 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 31.1% C 0.065 H 119.2°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#2D3508
RGBrgb(45, 53, 8)
HSLhsl(71, 74%, 12%)
HSVhsv(71, 85%, 21%)
CMYKcmyk(15.1%, 0%, 84.9%, 79.2%)
CIE-LABlab(20.52, -10.76, 25.29)
CIE-LCHlch(20.52, 27.49, 113.05°)
OKLaboklab(31.12% -0.0319 0.0571)
OKLCHoklch(31.12% 0.065 119.2)
XYZxyz(2.3992, 3.1216, 0.7058)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3508 #100835
analogous
#352708 #2D3508 #173508
triadic
#2D3508 #082D35 #35082D
tetradic
#2D3508 #083527 #100835 #350817
square
#2D3508 #083527 #100835 #350817
split-complementary
#2D3508 #081735 #270835
monochromatic
#171B04 #171B04 #2D3508 #5A6A10 #879F18

Accessibility & contrast

On white

12.93
#2D3508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D3508 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3508
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3508#FFFFFF#000000##FFFFFF
##2D35081.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393102
Deuteranopia (green-blind)
#38320C
Tritanopia (blue-blind)
#30322C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d3508;
/* rgb */ color: rgb(45, 53, 8);
/* oklch */ color: oklch(31.1% 0.065 119.2);
Tailwind
colors: {
  custom: {
    50: '#686c4b',
    500: '#2d3508',
    950: '#000000',
  },
}
SCSS
$custom: #2d3508;
$custom-light: #686c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3508",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 8
  },
  "hsl": {
    "h": 70.667,
    "s": 73.77,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31119,
    "c": 0.06543,
    "h": 119.2
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#2D3508
secondary
#332574
accent
#37F058
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3508

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

Preview Lab → · Contrast checker → · Palette generator →

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