#2D3E0C#2D3E0C

#2D3E0C is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.8% C 0.076 H 126.6°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2D3E0C
RGBrgb(45, 62, 12)
HSLhsl(80, 68%, 15%)
HSVhsv(80, 81%, 24%)
CMYKcmyk(27.4%, 0%, 80.6%, 75.7%)
CIE-LABlab(23.77, -15.70, 27.05)
CIE-LCHlch(23.77, 31.27, 120.13°)
OKLaboklab(33.75% -0.0451 0.0608)
OKLCHoklch(33.75% 0.076 126.6)
XYZxyz(2.8712, 4.0296, 0.9743)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E0C #1D0C3E
analogous
#3E360C #2D3E0C #143E0C
triadic
#2D3E0C #0C2D3E #3E0C2D
tetradic
#2D3E0C #0C3E36 #1D0C3E #3E0C14
square
#2D3E0C #0C3E36 #1D0C3E #3E0C14
split-complementary
#2D3E0C #0C143E #360C3E
monochromatic
#131A05 #131A05 #2D3E0C #527116 #77A520

Accessibility & contrast

On white

11.63
#2D3E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D3E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E0C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E0C#FFFFFF#000000##FFFFFF
##2D3E0C1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423905
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#2F3B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3e0c;
/* rgb */ color: rgb(45, 62, 12);
/* oklch */ color: oklch(33.8% 0.076 126.6);
Tailwind
colors: {
  custom: {
    50: '#68734e',
    500: '#2d3e0c',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e0c;
$custom-light: #68734e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e0c",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 12
  },
  "hsl": {
    "h": 80.4,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3375,
    "c": 0.07567,
    "h": 126.6
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#2D3E0C
secondary
#462C7A
accent
#3DEA78
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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