#2D3F0D#2D3F0D

#2D3F0D is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.1% C 0.076 H 127.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2D3F0D
RGBrgb(45, 63, 13)
HSLhsl(82, 66%, 15%)
HSVhsv(82, 79%, 25%)
CMYKcmyk(28.6%, 0%, 79.4%, 75.3%)
CIE-LABlab(24.14, -16.18, 26.96)
CIE-LCHlch(24.14, 31.44, 120.97°)
OKLaboklab(34.05% -0.0463 0.0608)
OKLCHoklch(34.05% 0.076 127.3)
XYZxyz(2.9323, 4.1419, 1.0257)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F0D #1F0D3F
analogous
#3F380D #2D3F0D #143F0D
triadic
#2D3F0D #0D2D3F #3F0D2D
tetradic
#2D3F0D #0D3F38 #1F0D3F #3F0D14
square
#2D3F0D #0D3F38 #1F0D3F #3F0D14
split-complementary
#2D3F0D #0D143F #380D3F
monochromatic
#121905 #121905 #2D3F0D #517217 #75A422

Accessibility & contrast

On white

11.49
#2D3F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D3F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3F0D
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F0D#FFFFFF#000000##FFFFFF
##2D3F0D1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A06
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#2F3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3f0d;
/* rgb */ color: rgb(45, 63, 13);
/* oklch */ color: oklch(34.1% 0.076 127.3);
Tailwind
colors: {
  custom: {
    50: '#68744f',
    500: '#2d3f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f0d;
$custom-light: #68744f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f0d",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 13
  },
  "hsl": {
    "h": 81.6,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3405,
    "c": 0.07639,
    "h": 127.3
  },
  "luminance": 0.04142
}

Semantic roles & 50–950 ramp

primary
#2D3F0D
secondary
#492D7B
accent
#3FE97C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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