#2D4B10#2D4B10

#2D4B10 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.092 H 132.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2D4B10
RGBrgb(45, 75, 16)
HSLhsl(91, 65%, 18%)
HSVhsv(91, 79%, 29%)
CMYKcmyk(40%, 0%, 78.7%, 70.6%)
CIE-LABlab(28.45, -22.27, 29.99)
CIE-LCHlch(28.45, 37.36, 126.60°)
OKLaboklab(37.57% -0.0626 0.0676)
OKLCHoklch(37.57% 0.092 132.8)
XYZxyz(3.6917, 5.6273, 1.3818)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B10 #2E104B
analogous
#4A4B10 #2D4B10 #104B10
triadic
#2D4B10 #102D4B #4B102D
tetradic
#2D4B10 #104A4B #2E104B #4B1010
square
#2D4B10 #104A4B #2E104B #4B1010
split-complementary
#2D4B10 #10104B #4B104A
monochromatic
#0F1905 #0F1905 #2D4B10 #4B7D1B #6AB026

Accessibility & contrast

On white

9.88
#2D4B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2D4B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4B10
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B10#FFFFFF#000000##FFFFFF
##2D4B101.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4506
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#2D483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d4b10;
/* rgb */ color: rgb(45, 75, 16);
/* oklch */ color: oklch(37.6% 0.092 132.8);
Tailwind
colors: {
  custom: {
    50: '#697d52',
    500: '#2d4b10',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b10;
$custom-light: #697d52;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b10",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 90.508,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37571,
    "c": 0.09218,
    "h": 132.8
  },
  "luminance": 0.05627
}

Semantic roles & 50–950 ramp

primary
#2D4B10
secondary
#5C3285
accent
#40E895
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4B10

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

Preview Lab → · Contrast checker → · Palette generator →

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