#2D4A10#2D4A10

#2D4A10 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.091 H 132.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2D4A10
RGBrgb(45, 74, 16)
HSLhsl(90, 64%, 18%)
HSVhsv(90, 78%, 29%)
CMYKcmyk(39.2%, 0%, 78.4%, 71%)
CIE-LABlab(28.09, -21.77, 29.63)
CIE-LCHlch(28.09, 36.77, 126.31°)
OKLaboklab(37.28% -0.0613 0.0669)
OKLCHoklch(37.28% 0.091 132.5)
XYZxyz(3.6244, 5.4927, 1.3593)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A10 #2D104A
analogous
#4A4A10 #2D4A10 #104A10
triadic
#2D4A10 #102D4A #4A102D
tetradic
#2D4A10 #104A4A #2D104A #4A1010
square
#2D4A10 #104A4A #2D104A #4A1010
split-complementary
#2D4A10 #10104A #4A104A
monochromatic
#0F1905 #0F1905 #2D4A10 #4C7C1B #6AAF26

Accessibility & contrast

On white

10.01
#2D4A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D4A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A10
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A10#FFFFFF#000000##FFFFFF
##2D4A101.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4407
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#2D473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4a10;
/* rgb */ color: rgb(45, 74, 16);
/* oklch */ color: oklch(37.3% 0.091 132.5);
Tailwind
colors: {
  custom: {
    50: '#697c52',
    500: '#2d4a10',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a10;
$custom-light: #697c52;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a10",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 90,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37279,
    "c": 0.0907,
    "h": 132.5
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#2D4A10
secondary
#5B3284
accent
#40E794
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4A10

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

Preview Lab → · Contrast checker → · Palette generator →

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