#2D4509#2D4509

#2D4509 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.088 H 129.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2D4509
RGBrgb(45, 69, 9)
HSLhsl(84, 77%, 15%)
HSVhsv(84, 87%, 27%)
CMYKcmyk(34.8%, 0%, 87%, 72.9%)
CIE-LABlab(26.26, -19.69, 30.70)
CIE-LCHlch(26.26, 36.47, 122.68°)
OKLaboklab(35.76% -0.0562 0.0679)
OKLCHoklch(35.76% 0.088 129.6)
XYZxyz(3.2596, 4.8338, 1.0197)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4509 #210945
analogous
#453F09 #2D4509 #0F4509
triadic
#2D4509 #092D45 #45092D
tetradic
#2D4509 #09453F #210945 #45090F
square
#2D4509 #09453F #210945 #45090F
split-complementary
#2D4509 #090F45 #3F0945
monochromatic
#121B04 #121B04 #2D4509 #507B10 #74B117

Accessibility & contrast

On white

10.68
#2D4509 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D4509 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4509
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4509#FFFFFF#000000##FFFFFF
##2D45091.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F00
Deuteranopia (green-blind)
#453E0F
Tritanopia (blue-blind)
#2F423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d4509;
/* rgb */ color: rgb(45, 69, 9);
/* oklch */ color: oklch(35.8% 0.088 129.6);
Tailwind
colors: {
  custom: {
    50: '#69794e',
    500: '#2d4509',
    950: '#000000',
  },
}
SCSS
$custom: #2d4509;
$custom-light: #69794e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4509",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 9
  },
  "hsl": {
    "h": 84,
    "s": 76.923,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35764,
    "c": 0.08813,
    "h": 129.6
  },
  "luminance": 0.04834
}

Semantic roles & 50–950 ramp

primary
#2D4509
secondary
#4C2783
accent
#34F381
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4509

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

Preview Lab → · Contrast checker → · Palette generator →

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