#2D560F#2D560F

#2D560F is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.8% C 0.109 H 135.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2D560F
RGBrgb(45, 86, 15)
HSLhsl(95, 70%, 20%)
HSVhsv(95, 83%, 34%)
CMYKcmyk(47.7%, 0%, 82.6%, 66.3%)
CIE-LABlab(32.36, -27.64, 34.26)
CIE-LCHlch(32.36, 44.02, 128.89°)
OKLaboklab(40.77% -0.0772 0.0764)
OKLCHoklch(40.77% 0.109 135.3)
XYZxyz(4.4961, 7.2477, 1.6139)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D560F #380F56
analogous
#51560F #2D560F #0F5615
triadic
#2D560F #0F2D56 #560F2D
tetradic
#2D560F #0F5156 #380F56 #56150F
square
#2D560F #0F5156 #380F56 #56150F
split-complementary
#2D560F #150F56 #560F51
monochromatic
#0E1A05 #122206 #2D560F #488A18 #64BE21

Accessibility & contrast

On white

8.57
#2D560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D560F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D560F#FFFFFF#000000##FFFFFF
##2D560F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E01
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#2C5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d560f;
/* rgb */ color: rgb(45, 86, 15);
/* oklch */ color: oklch(40.8% 0.109 135.3);
Tailwind
colors: {
  custom: {
    50: '#6a8654',
    500: '#2d560f',
    950: '#000000',
  },
}
SCSS
$custom: #2d560f;
$custom-light: #6a8654;
$custom-dark: #000000;
JSON
{
  "hex": "#2d560f",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 94.648,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40771,
    "c": 0.10862,
    "h": 135.3
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#2D560F
secondary
#683190
accent
#3BEDA2
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D560F

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

Preview Lab → · Contrast checker → · Palette generator →

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