#2D5110#2D5110

#2D5110 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.3% C 0.101 H 134.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2D5110
RGBrgb(45, 81, 16)
HSLhsl(93, 67%, 19%)
HSVhsv(93, 80%, 32%)
CMYKcmyk(44.4%, 0%, 80.2%, 68.2%)
CIE-LABlab(30.59, -25.22, 32.13)
CIE-LCHlch(30.59, 40.85, 128.12°)
OKLaboklab(39.32% -0.0706 0.0721)
OKLCHoklch(39.32% 0.101 134.4)
XYZxyz(4.1181, 6.4799, 1.5239)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5110 #341051
analogous
#4E5110 #2D5110 #105114
triadic
#2D5110 #102D51 #51102D
tetradic
#2D5110 #104E51 #341051 #511410
square
#2D5110 #104E51 #341051 #511410
split-complementary
#2D5110 #141051 #51104E
monochromatic
#0E1A05 #111E06 #2D5110 #49841A #66B724

Accessibility & contrast

On white

9.15
#2D5110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D5110 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5110
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5110#FFFFFF#000000##FFFFFF
##2D51101.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A05
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#2C4E44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d5110;
/* rgb */ color: rgb(45, 81, 16);
/* oklch */ color: oklch(39.3% 0.101 134.4);
Tailwind
colors: {
  custom: {
    50: '#6a8253',
    500: '#2d5110',
    950: '#000000',
  },
}
SCSS
$custom: #2d5110;
$custom-light: #6a8253;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5110",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 93.231,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39321,
    "c": 0.10093,
    "h": 134.4
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#2D5110
secondary
#63328B
accent
#3EEA9D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2D5110

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

Preview Lab → · Contrast checker → · Palette generator →

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