#2D450C#2D450C

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

Color values

HEX#2D450C
RGBrgb(45, 69, 12)
HSLhsl(85, 70%, 16%)
HSVhsv(85, 83%, 27%)
CMYKcmyk(34.8%, 0%, 82.6%, 72.9%)
CIE-LABlab(26.28, -19.49, 29.53)
CIE-LCHlch(26.28, 35.38, 123.43°)
OKLaboklab(35.79% -0.0554 0.066)
OKLCHoklch(35.79% 0.086 130)
XYZxyz(3.2767, 4.8406, 1.1094)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D450C #240C45
analogous
#45400C #2D450C #10450C
triadic
#2D450C #0C2D45 #450C2D
tetradic
#2D450C #0C4540 #240C45 #450C10
square
#2D450C #0C4540 #240C45 #450C10
split-complementary
#2D450C #0C1045 #400C45
monochromatic
#111A05 #111A05 #2D450C #4F7915 #71AD1E

Accessibility & contrast

On white

10.67
#2D450C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D450C
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D450C#FFFFFF#000000##FFFFFF
##2D450C1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F03
Deuteranopia (green-blind)
#453E11
Tritanopia (blue-blind)
#2E423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d450c;
/* rgb */ color: rgb(45, 69, 12);
/* oklch */ color: oklch(35.8% 0.086 130.0);
Tailwind
colors: {
  custom: {
    50: '#69794f',
    500: '#2d450c',
    950: '#000000',
  },
}
SCSS
$custom: #2d450c;
$custom-light: #69794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d450c",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 85.263,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35787,
    "c": 0.08617,
    "h": 130
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#2D450C
secondary
#502C81
accent
#3BED86
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D450C

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

Preview Lab → · Contrast checker → · Palette generator →

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