#2D4003#2D4003

#2D4003 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.085 H 126.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2D4003
RGBrgb(45, 64, 3)
HSLhsl(79, 91%, 13%)
HSVhsv(79, 95%, 25%)
CMYKcmyk(29.7%, 0%, 95.3%, 74.9%)
CIE-LABlab(24.42, -17.42, 31.40)
CIE-LCHlch(24.42, 35.91, 119.02°)
OKLaboklab(34.26% -0.0507 0.0684)
OKLCHoklch(34.26% 0.085 126.5)
XYZxyz(2.9320, 4.2312, 0.7484)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4003 #160340
analogous
#403403 #2D4003 #0E4003
triadic
#2D4003 #032D40 #40032D
tetradic
#2D4003 #034034 #160340 #40030E
square
#2D4003 #034034 #160340 #40030E
split-complementary
#2D4003 #030E40 #340340
monochromatic
#151D01 #151D01 #2D4003 #567A06 #7FB508

Accessibility & contrast

On white

11.37
#2D4003 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4003
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4003#FFFFFF#000000##FFFFFF
##2D40031.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#413A09
Tritanopia (blue-blind)
#2F3C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d4003;
/* rgb */ color: rgb(45, 64, 3);
/* oklch */ color: oklch(34.3% 0.085 126.5);
Tailwind
colors: {
  custom: {
    50: '#69754a',
    500: '#2d4003',
    950: '#000000',
  },
}
SCSS
$custom: #2d4003;
$custom-light: #69754a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4003",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 3
  },
  "hsl": {
    "h": 78.689,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34259,
    "c": 0.08513,
    "h": 126.5
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#2D4003
secondary
#3C1D82
accent
#29FF6C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D4003

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

Preview Lab → · Contrast checker → · Palette generator →

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