#2D3F0E#2D3F0E

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

Color values

HEX#2D3F0E
RGBrgb(45, 63, 14)
HSLhsl(82, 64%, 15%)
HSVhsv(82, 78%, 25%)
CMYKcmyk(28.6%, 0%, 77.8%, 75.3%)
CIE-LABlab(24.14, -16.10, 26.50)
CIE-LCHlch(24.14, 31.01, 121.27°)
OKLaboklab(34.06% -0.046 0.06)
OKLCHoklch(34.06% 0.076 127.5)
XYZxyz(2.9390, 4.1446, 1.0605)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F0E #200E3F
analogous
#3F380E #2D3F0E #143F0E
triadic
#2D3F0E #0E2D3F #3F0E2D
tetradic
#2D3F0E #0E3F38 #200E3F #3F0E14
square
#2D3F0E #0E3F38 #200E3F #3F0E14
split-complementary
#2D3F0E #0E143F #380E3F
monochromatic
#121906 #121906 #2D3F0E #517119 #75A324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3F0E#FFFFFF#000000##FFFFFF
##2D3F0E1.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)
#433A07
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#2F3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3f0e;
/* rgb */ color: rgb(45, 63, 14);
/* oklch */ color: oklch(34.1% 0.076 127.5);
Tailwind
colors: {
  custom: {
    50: '#687450',
    500: '#2d3f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f0e;
$custom-light: #687450;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f0e",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 14
  },
  "hsl": {
    "h": 82.041,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34059,
    "c": 0.07557,
    "h": 127.5
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#2D3F0E
secondary
#4A2F7A
accent
#41E77E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D3F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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