#2D4111#2D4111

#2D4111 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.076 H 129.1°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2D4111
RGBrgb(45, 65, 17)
HSLhsl(85, 59%, 16%)
HSVhsv(85, 74%, 25%)
CMYKcmyk(30.8%, 0%, 73.8%, 74.5%)
CIE-LABlab(24.89, -16.94, 25.82)
CIE-LCHlch(24.89, 30.88, 123.27°)
OKLaboklab(34.67% -0.048 0.059)
OKLCHoklch(34.67% 0.076 129.1)
XYZxyz(3.0736, 4.3789, 1.2135)
Luminance0.0438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4111 #251141
analogous
#413D11 #2D4111 #154111
triadic
#2D4111 #112D41 #41112D
tetradic
#2D4111 #11413D #251141 #411115
square
#2D4111 #11413D #251141 #411115
split-complementary
#2D4111 #111541 #3D1141
monochromatic
#111806 #111806 #2D4111 #4F721E #70A22A

Accessibility & contrast

On white

11.20
#2D4111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D4111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4111
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4111#FFFFFF#000000##FFFFFF
##2D41111.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0B
Deuteranopia (green-blind)
#423B15
Tritanopia (blue-blind)
#2F3E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d4111;
/* rgb */ color: rgb(45, 65, 17);
/* oklch */ color: oklch(34.7% 0.076 129.1);
Tailwind
colors: {
  custom: {
    50: '#687552',
    500: '#2d4111',
    950: '#000000',
  },
}
SCSS
$custom: #2d4111;
$custom-light: #687552;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4111",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 17
  },
  "hsl": {
    "h": 85,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34671,
    "c": 0.07607,
    "h": 129.1
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#2D4111
secondary
#51337B
accent
#46E287
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D4111

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

Preview Lab → · Contrast checker → · Palette generator →

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