#2D4013#2D4013

#2D4013 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.073 H 129.0°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2D4013
RGBrgb(45, 64, 19)
HSLhsl(85, 54%, 16%)
HSVhsv(85, 70%, 25%)
CMYKcmyk(29.7%, 0%, 70.3%, 74.9%)
CIE-LABlab(24.55, -16.19, 24.43)
CIE-LCHlch(24.55, 29.31, 123.53°)
OKLaboklab(34.4% -0.0457 0.0564)
OKLCHoklch(34.4% 0.073 129)
XYZxyz(3.0331, 4.2716, 1.2807)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4013 #261340
analogous
#403D13 #2D4013 #174013
triadic
#2D4013 #132D40 #40132D
tetradic
#2D4013 #13403D #261340 #401317
square
#2D4013 #13403D #261340 #401317
split-complementary
#2D4013 #131740 #3D1340
monochromatic
#111807 #111807 #2D4013 #4E6F21 #6F9E2F

Accessibility & contrast

On white

11.32
#2D4013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D4013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4013
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4013#FFFFFF#000000##FFFFFF
##2D40131.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0E
Deuteranopia (green-blind)
#413A16
Tritanopia (blue-blind)
#2E3D37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d4013;
/* rgb */ color: rgb(45, 64, 19);
/* oklch */ color: oklch(34.4% 0.073 129.0);
Tailwind
colors: {
  custom: {
    50: '#687553',
    500: '#2d4013',
    950: '#000000',
  },
}
SCSS
$custom: #2d4013;
$custom-light: #687553;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4013",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 19
  },
  "hsl": {
    "h": 85.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34404,
    "c": 0.07259,
    "h": 129
  },
  "luminance": 0.04272
}

Semantic roles & 50–950 ramp

primary
#2D4013
secondary
#523679
accent
#4ADE88
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D4013

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

Preview Lab → · Contrast checker → · Palette generator →

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