#2D3D07#2D3D07

#2D3D07 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.4% C 0.078 H 125.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2D3D07
RGBrgb(45, 61, 7)
HSLhsl(78, 79%, 13%)
HSVhsv(78, 89%, 24%)
CMYKcmyk(26.2%, 0%, 88.5%, 76.1%)
CIE-LABlab(23.37, -15.49, 28.73)
CIE-LCHlch(23.37, 32.64, 118.33°)
OKLaboklab(33.42% -0.045 0.0636)
OKLCHoklch(33.42% 0.078 125.3)
XYZxyz(2.7893, 3.9107, 0.8089)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D07 #17073D
analogous
#3D3207 #2D3D07 #123D07
triadic
#2D3D07 #072D3D #3D072D
tetradic
#2D3D07 #073D32 #17073D #3D0712
square
#2D3D07 #073D32 #17073D #3D0712
split-complementary
#2D3D07 #07123D #32073D
monochromatic
#141B03 #141B03 #2D3D07 #55740D #7EAB14

Accessibility & contrast

On white

11.78
#2D3D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D3D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D07
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D07#FFFFFF#000000##FFFFFF
##2D3D071.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#3F370C
Tritanopia (blue-blind)
#2F3A33
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d3d07;
/* rgb */ color: rgb(45, 61, 7);
/* oklch */ color: oklch(33.4% 0.078 125.3);
Tailwind
colors: {
  custom: {
    50: '#68724c',
    500: '#2d3d07',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d07;
$custom-light: #68724c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d07",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 77.778,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33418,
    "c": 0.07789,
    "h": 125.3
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#2D3D07
secondary
#3E237C
accent
#32F66C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D3D07

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

Preview Lab → · Contrast checker → · Palette generator →

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