#2D3E0B#2D3E0B

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

Color values

HEX#2D3E0B
RGBrgb(45, 62, 11)
HSLhsl(80, 70%, 14%)
HSVhsv(80, 82%, 24%)
CMYKcmyk(27.4%, 0%, 82.3%, 75.7%)
CIE-LABlab(23.76, -15.77, 27.48)
CIE-LCHlch(23.76, 31.69, 119.86°)
OKLaboklab(33.74% -0.0454 0.0615)
OKLCHoklch(33.74% 0.076 126.4)
XYZxyz(2.8652, 4.0273, 0.9429)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E0B #1C0B3E
analogous
#3E360B #2D3E0B #143E0B
triadic
#2D3E0B #0B2D3E #3E0B2D
tetradic
#2D3E0B #0B3E36 #1C0B3E #3E0B14
square
#2D3E0B #0B3E36 #1C0B3E #3E0B14
split-complementary
#2D3E0B #0B143E #360B3E
monochromatic
#131A05 #131A05 #2D3E0B #537214 #78A61D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3E0B#FFFFFF#000000##FFFFFF
##2D3E0B1.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)
#423904
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#2F3B34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3e0b;
/* rgb */ color: rgb(45, 62, 11);
/* oklch */ color: oklch(33.7% 0.076 126.4);
Tailwind
colors: {
  custom: {
    50: '#68734e',
    500: '#2d3e0b',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e0b;
$custom-light: #68734e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e0b",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 11
  },
  "hsl": {
    "h": 80,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33742,
    "c": 0.07644,
    "h": 126.4
  },
  "luminance": 0.04027
}

Semantic roles & 50–950 ramp

primary
#2D3E0B
secondary
#452A7B
accent
#3BED76
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3E0B

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

Preview Lab → · Contrast checker → · Palette generator →

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