#2D5C0E#2D5C0E

#2D5C0E is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.5% C 0.117 H 136.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2D5C0E
RGBrgb(45, 92, 14)
HSLhsl(96, 74%, 21%)
HSVhsv(96, 85%, 36%)
CMYKcmyk(51.1%, 0%, 84.8%, 63.9%)
CIE-LABlab(34.49, -30.40, 36.63)
CIE-LCHlch(34.49, 47.61, 129.69°)
OKLaboklab(42.51% -0.0847 0.0812)
OKLCHoklch(42.51% 0.117 136.2)
XYZxyz(4.9885, 8.2436, 1.7437)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C0E #3D0E5C
analogous
#545C0E #2D5C0E #0E5C16
triadic
#2D5C0E #0E2D5C #5C0E2D
tetradic
#2D5C0E #0E545C #3D0E5C #5C160E
square
#2D5C0E #0E545C #3D0E5C #5C160E
split-complementary
#2D5C0E #160E5C #5C0E54
monochromatic
#0D1B04 #132706 #2D5C0E #479116 #61C61E

Accessibility & contrast

On white

7.93
#2D5C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2D5C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5C0E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5C0E#FFFFFF#000000##FFFFFF
##2D5C0E1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#595017
Tritanopia (blue-blind)
#2B584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5c0e;
/* rgb */ color: rgb(45, 92, 14);
/* oklch */ color: oklch(42.5% 0.117 136.2);
Tailwind
colors: {
  custom: {
    50: '#6b8a54',
    500: '#2d5c0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c0e;
$custom-light: #6b8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c0e",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 14
  },
  "hsl": {
    "h": 96.154,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42511,
    "c": 0.11735,
    "h": 136.2
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#2D5C0E
secondary
#6D3096
accent
#38F0A7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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