#2D3C07#2D3C07

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

Color values

HEX#2D3C07
RGBrgb(45, 60, 7)
HSLhsl(77, 79%, 13%)
HSVhsv(77, 88%, 24%)
CMYKcmyk(25%, 0%, 88.3%, 76.5%)
CIE-LABlab(23.02, -14.93, 28.37)
CIE-LCHlch(23.02, 32.05, 117.76°)
OKLaboklab(33.13% -0.0435 0.0629)
OKLCHoklch(33.13% 0.076 124.7)
XYZxyz(2.7364, 3.8049, 0.7912)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C07 #16073C
analogous
#3C3007 #2D3C07 #123C07
triadic
#2D3C07 #072D3C #3C072D
tetradic
#2D3C07 #073C30 #16073C #3C0712
square
#2D3C07 #073C30 #16073C #3C0712
split-complementary
#2D3C07 #07123C #30073C
monochromatic
#151B03 #151B03 #2D3C07 #56730D #7FAA14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3C07#FFFFFF#000000##FFFFFF
##2D3C071.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)
#3E370C
Tritanopia (blue-blind)
#303932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d3c07;
/* rgb */ color: rgb(45, 60, 7);
/* oklch */ color: oklch(33.1% 0.076 124.7);
Tailwind
colors: {
  custom: {
    50: '#68714c',
    500: '#2d3c07',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c07;
$custom-light: #68714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c07",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 7
  },
  "hsl": {
    "h": 76.981,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33128,
    "c": 0.07644,
    "h": 124.7
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#2D3C07
secondary
#3C237B
accent
#32F66A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3C07

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

Preview Lab → · Contrast checker → · Palette generator →

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