#2D3F0F#2D3F0F

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

Color values

HEX#2D3F0F
RGBrgb(45, 63, 15)
HSLhsl(83, 62%, 15%)
HSVhsv(83, 76%, 25%)
CMYKcmyk(28.6%, 0%, 76.2%, 75.3%)
CIE-LABlab(24.15, -16.01, 26.03)
CIE-LCHlch(24.15, 30.56, 121.60°)
OKLaboklab(34.07% -0.0456 0.0592)
OKLCHoklch(34.07% 0.075 127.6)
XYZxyz(2.9459, 4.1473, 1.0972)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F0F #210F3F
analogous
#3F390F #2D3F0F #153F0F
triadic
#2D3F0F #0F2D3F #3F0F2D
tetradic
#2D3F0F #0F3F39 #210F3F #3F0F15
square
#2D3F0F #0F3F39 #210F3F #3F0F15
split-complementary
#2D3F0F #0F153F #390F3F
monochromatic
#121906 #121906 #2D3F0F #50701B #74A227

Accessibility & contrast

On white

11.48
#2D3F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3F0F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F0F#FFFFFF#000000##FFFFFF
##2D3F0F1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3f0f;
/* rgb */ color: rgb(45, 63, 15);
/* oklch */ color: oklch(34.1% 0.075 127.6);
Tailwind
colors: {
  custom: {
    50: '#687450',
    500: '#2d3f0f',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f0f;
$custom-light: #687450;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f0f",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 15
  },
  "hsl": {
    "h": 82.5,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3407,
    "c": 0.07471,
    "h": 127.6
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#2D3F0F
secondary
#4C3079
accent
#43E580
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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