#2D3C05#2D3C05

#2D3C05 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.078 H 124.4°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#2D3C05
RGBrgb(45, 60, 5)
HSLhsl(76, 85%, 13%)
HSVhsv(76, 92%, 24%)
CMYKcmyk(25%, 0%, 91.7%, 76.5%)
CIE-LABlab(23.00, -15.07, 29.16)
CIE-LCHlch(23.00, 32.83, 117.32°)
OKLaboklab(33.11% -0.0441 0.0643)
OKLCHoklch(33.11% 0.078 124.4)
XYZxyz(2.7255, 3.8005, 0.7335)
Luminance0.0380 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C05 #14053C
analogous
#3C2F05 #2D3C05 #113C05
triadic
#2D3C05 #052D3C #3C052D
tetradic
#2D3C05 #053C2F #14053C #3C0511
square
#2D3C05 #053C2F #14053C #3C0511
split-complementary
#2D3C05 #05113C #2F053C
monochromatic
#151C02 #151C02 #2D3C05 #57740A #82AD0E

Accessibility & contrast

On white

11.93
#2D3C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2D3C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C05
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C05#FFFFFF#000000##FFFFFF
##2D3C051.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#3E370A
Tritanopia (blue-blind)
#303832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d3c05;
/* rgb */ color: rgb(45, 60, 5);
/* oklch */ color: oklch(33.1% 0.078 124.4);
Tailwind
colors: {
  custom: {
    50: '#68714b',
    500: '#2d3c05',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c05;
$custom-light: #68714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c05",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 5
  },
  "hsl": {
    "h": 76.364,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.33111,
    "c": 0.07798,
    "h": 124.4
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#2D3C05
secondary
#39207D
accent
#2DFB65
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3C05

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

Preview Lab → · Contrast checker → · Palette generator →

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