#2D460E#2D460E

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

Color values

HEX#2D460E
RGBrgb(45, 70, 14)
HSLhsl(87, 67%, 16%)
HSVhsv(87, 80%, 27%)
CMYKcmyk(35.7%, 0%, 80%, 72.5%)
CIE-LABlab(26.65, -19.87, 29.05)
CIE-LCHlch(26.65, 35.19, 124.37°)
OKLaboklab(36.1% -0.0563 0.0653)
OKLCHoklch(36.1% 0.086 130.7)
XYZxyz(3.3516, 4.9698, 1.1981)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D460E #270E46
analogous
#46430E #2D460E #11460E
triadic
#2D460E #0E2D46 #460E2D
tetradic
#2D460E #0E4643 #270E46 #460E11
square
#2D460E #0E4643 #270E46 #460E11
split-complementary
#2D460E #0E1146 #430E46
monochromatic
#101A05 #101A05 #2D460E #4E7918 #6FAC22

Accessibility & contrast

On white

10.53
#2D460E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D460E
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D460E#FFFFFF#000000##FFFFFF
##2D460E1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d460e;
/* rgb */ color: rgb(45, 70, 14);
/* oklch */ color: oklch(36.1% 0.086 130.7);
Tailwind
colors: {
  custom: {
    50: '#687951',
    500: '#2d460e',
    950: '#000000',
  },
}
SCSS
$custom: #2d460e;
$custom-light: #687951;
$custom-dark: #000000;
JSON
{
  "hex": "#2d460e",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 14
  },
  "hsl": {
    "h": 86.786,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36095,
    "c": 0.08622,
    "h": 130.7
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#2D460E
secondary
#542F81
accent
#3EEA8B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D460E

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

Preview Lab → · Contrast checker → · Palette generator →

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