#2D460C#2D460C

#2D460C is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.1% C 0.088 H 130.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2D460C
RGBrgb(45, 70, 12)
HSLhsl(86, 71%, 16%)
HSVhsv(86, 83%, 27%)
CMYKcmyk(35.7%, 0%, 82.9%, 72.5%)
CIE-LABlab(26.63, -20.02, 29.88)
CIE-LCHlch(26.63, 35.96, 123.82°)
OKLaboklab(36.08% -0.0569 0.0667)
OKLCHoklch(36.08% 0.088 130.4)
XYZxyz(3.3387, 4.9646, 1.1301)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D460C #250C46
analogous
#46420C #2D460C #10460C
triadic
#2D460C #0C2D46 #460C2D
tetradic
#2D460C #0C4642 #250C46 #460C10
square
#2D460C #0C4642 #250C46 #460C10
split-complementary
#2D460C #0C1046 #420C46
monochromatic
#111A04 #111A04 #2D460C #4F7A15 #70AE1E

Accessibility & contrast

On white

10.54
#2D460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D460C
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D460C#FFFFFF#000000##FFFFFF
##2D460C1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4003
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#2E433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d460c;
/* rgb */ color: rgb(45, 70, 12);
/* oklch */ color: oklch(36.1% 0.088 130.4);
Tailwind
colors: {
  custom: {
    50: '#697950',
    500: '#2d460c',
    950: '#000000',
  },
}
SCSS
$custom: #2d460c;
$custom-light: #697950;
$custom-dark: #000000;
JSON
{
  "hex": "#2d460c",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 85.862,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36078,
    "c": 0.08765,
    "h": 130.4
  },
  "luminance": 0.04965
}

Semantic roles & 50–950 ramp

primary
#2D460C
secondary
#512C82
accent
#3AED88
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D460C

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

Preview Lab → · Contrast checker → · Palette generator →

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