#2D4010#2D4010

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

Color values

HEX#2D4010
RGBrgb(45, 64, 16)
HSLhsl(84, 60%, 16%)
HSVhsv(84, 75%, 25%)
CMYKcmyk(29.7%, 0%, 75%, 74.9%)
CIE-LABlab(24.52, -16.48, 25.93)
CIE-LCHlch(24.52, 30.72, 122.44°)
OKLaboklab(34.37% -0.0468 0.0591)
OKLCHoklch(34.37% 0.075 128.4)
XYZxyz(3.0091, 4.2620, 1.1542)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4010 #231040
analogous
#403B10 #2D4010 #154010
triadic
#2D4010 #102D40 #40102D
tetradic
#2D4010 #10403B #231040 #401015
square
#2D4010 #10403B #231040 #401015
split-complementary
#2D4010 #101540 #3B1040
monochromatic
#111806 #111806 #2D4010 #4F711C #72A228

Accessibility & contrast

On white

11.34
#2D4010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4010
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4010#FFFFFF#000000##FFFFFF
##2D40101.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B09
Deuteranopia (green-blind)
#413A14
Tritanopia (blue-blind)
#2F3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d4010;
/* rgb */ color: rgb(45, 64, 16);
/* oklch */ color: oklch(34.4% 0.075 128.4);
Tailwind
colors: {
  custom: {
    50: '#687551',
    500: '#2d4010',
    950: '#000000',
  },
}
SCSS
$custom: #2d4010;
$custom-light: #687551;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4010",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 83.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.3437,
    "c": 0.0754,
    "h": 128.4
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#2D4010
secondary
#4E327A
accent
#45E383
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2D4010

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

Preview Lab → · Contrast checker → · Palette generator →

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