#2D3B0F#2D3B0F

#2D3B0F is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.9% C 0.068 H 125.1°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#2D3B0F
RGBrgb(45, 59, 15)
HSLhsl(79, 59%, 15%)
HSVhsv(79, 75%, 23%)
CMYKcmyk(23.7%, 0%, 74.6%, 76.9%)
CIE-LABlab(22.72, -13.75, 24.52)
CIE-LCHlch(22.72, 28.11, 119.27°)
OKLaboklab(32.91% -0.0394 0.056)
OKLCHoklch(32.91% 0.068 125.1)
XYZxyz(2.7324, 3.7203, 1.0260)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3B0F #1D0F3B
analogous
#3B330F #2D3B0F #173B0F
triadic
#2D3B0F #0F2D3B #3B0F2D
tetradic
#2D3B0F #0F3B33 #1D0F3B #3B0F17
square
#2D3B0F #0F3B33 #1D0F3B #3B0F17
split-complementary
#2D3B0F #0F173B #330F3B
monochromatic
#131806 #131806 #2D3B0F #526C1B #779D28

Accessibility & contrast

On white

12.04
#2D3B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D3B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3B0F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3B0F#FFFFFF#000000##FFFFFF
##2D3B0F1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3709
Deuteranopia (green-blind)
#3D3612
Tritanopia (blue-blind)
#2F3832
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d3b0f;
/* rgb */ color: rgb(45, 59, 15);
/* oklch */ color: oklch(32.9% 0.068 125.1);
Tailwind
colors: {
  custom: {
    50: '#677150',
    500: '#2d3b0f',
    950: '#000000',
  },
}
SCSS
$custom: #2d3b0f;
$custom-light: #677150;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3b0f",
  "rgb": {
    "r": 45,
    "g": 59,
    "b": 15
  },
  "hsl": {
    "h": 79.091,
    "s": 59.459,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32913,
    "c": 0.06846,
    "h": 125.1
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#2D3B0F
secondary
#463075
accent
#45E377
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2D3B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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