#2D4C10#2D4C10

#2D4C10 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.094 H 133.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2D4C10
RGBrgb(45, 76, 16)
HSLhsl(91, 65%, 18%)
HSVhsv(91, 79%, 30%)
CMYKcmyk(40.8%, 0%, 78.9%, 70.2%)
CIE-LABlab(28.81, -22.77, 30.35)
CIE-LCHlch(28.81, 37.95, 126.88°)
OKLaboklab(37.86% -0.064 0.0684)
OKLCHoklch(37.86% 0.094 133.1)
XYZxyz(3.7601, 5.7640, 1.4046)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C10 #2F104C
analogous
#4B4C10 #2D4C10 #104C11
triadic
#2D4C10 #102D4C #4C102D
tetradic
#2D4C10 #104B4C #2F104C #4C1110
square
#2D4C10 #104B4C #2F104C #4C1110
split-complementary
#2D4C10 #11104C #4C104B
monochromatic
#0F1905 #0F1905 #2D4C10 #4B7F1B #69B125

Accessibility & contrast

On white

9.75
#2D4C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D4C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4C10
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C10#FFFFFF#000000##FFFFFF
##2D4C101.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4506
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#2D4940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4c10;
/* rgb */ color: rgb(45, 76, 16);
/* oklch */ color: oklch(37.9% 0.094 133.1);
Tailwind
colors: {
  custom: {
    50: '#697e53',
    500: '#2d4c10',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c10;
$custom-light: #697e53;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c10",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 91,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37863,
    "c": 0.09366,
    "h": 133.1
  },
  "luminance": 0.05764
}

Semantic roles & 50–950 ramp

primary
#2D4C10
secondary
#5D3286
accent
#40E897
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2D4C10

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

Preview Lab → · Contrast checker → · Palette generator →

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