#2D460B#2D460B

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

Color values

HEX#2D460B
RGBrgb(45, 70, 11)
HSLhsl(85, 73%, 16%)
HSVhsv(85, 84%, 27%)
CMYKcmyk(35.7%, 0%, 84.3%, 72.5%)
CIE-LABlab(26.63, -20.09, 30.28)
CIE-LCHlch(26.63, 36.33, 123.56°)
OKLaboklab(36.07% -0.0571 0.0673)
OKLCHoklch(36.07% 0.088 130.3)
XYZxyz(3.3327, 4.9623, 1.0988)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D460B #240B46
analogous
#46410B #2D460B #0F460B
triadic
#2D460B #0B2D46 #460B2D
tetradic
#2D460B #0B4641 #240B46 #460B0F
square
#2D460B #0B4641 #240B46 #460B0F
split-complementary
#2D460B #0B0F46 #410B46
monochromatic
#111A04 #111A04 #2D460B #4F7B13 #71B01C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D460B#FFFFFF#000000##FFFFFF
##2D460B1.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)
#4A4002
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#2E433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d460b;
/* rgb */ color: rgb(45, 70, 11);
/* oklch */ color: oklch(36.1% 0.088 130.3);
Tailwind
colors: {
  custom: {
    50: '#69794f',
    500: '#2d460b',
    950: '#000000',
  },
}
SCSS
$custom: #2d460b;
$custom-light: #69794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d460b",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 85.424,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36071,
    "c": 0.08832,
    "h": 130.3
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#2D460B
secondary
#502A82
accent
#38F086
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D460B

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

Preview Lab → · Contrast checker → · Palette generator →

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