#2D5310#2D5310

#2D5310 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.104 H 134.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2D5310
RGBrgb(45, 83, 16)
HSLhsl(94, 68%, 19%)
HSVhsv(94, 81%, 33%)
CMYKcmyk(45.8%, 0%, 80.7%, 67.5%)
CIE-LABlab(31.30, -26.17, 32.84)
CIE-LCHlch(31.30, 41.99, 128.55°)
OKLaboklab(39.9% -0.0732 0.0736)
OKLCHoklch(39.9% 0.104 134.8)
XYZxyz(4.2689, 6.7816, 1.5742)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5310 #361053
analogous
#4F5310 #2D5310 #105315
triadic
#2D5310 #102D53 #53102D
tetradic
#2D5310 #104F53 #361053 #531510
square
#2D5310 #104F53 #361053 #531510
split-complementary
#2D5310 #151053 #53104F
monochromatic
#0E1A05 #112006 #2D5310 #49861A #65BA24

Accessibility & contrast

On white

8.91
#2D5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D5310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5310
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5310#FFFFFF#000000##FFFFFF
##2D53101.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C04
Deuteranopia (green-blind)
#514917
Tritanopia (blue-blind)
#2C5046
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d5310;
/* rgb */ color: rgb(45, 83, 16);
/* oklch */ color: oklch(39.9% 0.104 134.8);
Tailwind
colors: {
  custom: {
    50: '#6a8454',
    500: '#2d5310',
    950: '#000000',
  },
}
SCSS
$custom: #2d5310;
$custom-light: #6a8454;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5310",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 94.03,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39904,
    "c": 0.10378,
    "h": 134.8
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#2D5310
secondary
#65328D
accent
#3DEBA0
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5310

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

Preview Lab → · Contrast checker → · Palette generator →

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