#2D3B07#2D3B07

#2D3B07 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.075 H 124.0°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#2D3B07
RGBrgb(45, 59, 7)
HSLhsl(76, 79%, 13%)
HSVhsv(76, 88%, 23%)
CMYKcmyk(23.7%, 0%, 88.1%, 76.9%)
CIE-LABlab(22.66, -14.36, 28.00)
CIE-LCHlch(22.66, 31.46, 117.15°)
OKLaboklab(32.84% -0.0419 0.0622)
OKLCHoklch(32.84% 0.075 124)
XYZxyz(2.6845, 3.7011, 0.7739)
Luminance0.0370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3B07 #15073B
analogous
#3B2F07 #2D3B07 #133B07
triadic
#2D3B07 #072D3B #3B072D
tetradic
#2D3B07 #073B2F #15073B #3B0713
square
#2D3B07 #073B2F #15073B #3B0713
split-complementary
#2D3B07 #07133B #2F073B
monochromatic
#151B03 #151B03 #2D3B07 #57720D #80A814

Accessibility & contrast

On white

12.07
#2D3B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D3B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3B07
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3B07#FFFFFF#000000##FFFFFF
##2D3B071.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#303831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d3b07;
/* rgb */ color: rgb(45, 59, 7);
/* oklch */ color: oklch(32.8% 0.075 124.0);
Tailwind
colors: {
  custom: {
    50: '#68714b',
    500: '#2d3b07',
    950: '#000000',
  },
}
SCSS
$custom: #2d3b07;
$custom-light: #68714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3b07",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 7
  },
  "hsl": {
    "h": 76.154,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32838,
    "c": 0.07499,
    "h": 124
  },
  "luminance": 0.03701
}

Semantic roles & 50–950 ramp

primary
#2D3B07
secondary
#3B237A
accent
#33F567
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3B07

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

Preview Lab → · Contrast checker → · Palette generator →

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