#2D3C0B#2D3C0B

#2D3C0B is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.073 H 125.2°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#2D3C0B
RGBrgb(45, 60, 11)
HSLhsl(78, 69%, 14%)
HSVhsv(78, 82%, 24%)
CMYKcmyk(25%, 0%, 81.7%, 76.5%)
CIE-LABlab(23.05, -14.64, 26.76)
CIE-LCHlch(23.05, 30.50, 118.69°)
OKLaboklab(33.16% -0.0423 0.06)
OKLCHoklch(33.16% 0.073 125.2)
XYZxyz(2.7585, 3.8137, 0.9073)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C0B #1A0B3C
analogous
#3C330B #2D3C0B #153C0B
triadic
#2D3C0B #0B2D3C #3C0B2D
tetradic
#2D3C0B #0B3C33 #1A0B3C #3C0B15
square
#2D3C0B #0B3C33 #1A0B3C #3C0B15
split-complementary
#2D3C0B #0B153C #330B3C
monochromatic
#131A05 #131A05 #2D3C0B #547014 #7BA31E

Accessibility & contrast

On white

11.91
#2D3C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3C0B
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C0B#FFFFFF#000000##FFFFFF
##2D3C0B1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403704
Deuteranopia (green-blind)
#3E370F
Tritanopia (blue-blind)
#2F3932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d3c0b;
/* rgb */ color: rgb(45, 60, 11);
/* oklch */ color: oklch(33.2% 0.073 125.2);
Tailwind
colors: {
  custom: {
    50: '#68714e',
    500: '#2d3c0b',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c0b;
$custom-light: #68714e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c0b",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 11
  },
  "hsl": {
    "h": 78.367,
    "s": 69.014,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33162,
    "c": 0.07342,
    "h": 125.2
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#2D3C0B
secondary
#422A79
accent
#3CEC72
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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