#2C5113#2C5113

#2C5113 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.3% C 0.099 H 135.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2C5113
RGBrgb(44, 81, 19)
HSLhsl(96, 62%, 20%)
HSVhsv(96, 77%, 32%)
CMYKcmyk(45.7%, 0%, 76.5%, 68.2%)
CIE-LABlab(30.56, -25.36, 30.80)
CIE-LCHlch(30.56, 39.90, 129.47°)
OKLaboklab(39.29% -0.0707 0.0698)
OKLCHoklch(39.29% 0.099 135.3)
XYZxyz(4.0986, 6.4671, 1.6483)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5113 #381351
analogous
#4B5113 #2C5113 #135119
triadic
#2C5113 #132C51 #51132C
tetradic
#2C5113 #134B51 #381351 #511913
square
#2C5113 #134B51 #381351 #511913
split-complementary
#2C5113 #191351 #51134B
monochromatic
#0D1906 #111F07 #2C5113 #47831F #62B42A

Accessibility & contrast

On white

9.16
#2C5113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2C5113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5113
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5113#FFFFFF#000000##FFFFFF
##2C51131.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A09
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#2B4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c5113;
/* rgb */ color: rgb(44, 81, 19);
/* oklch */ color: oklch(39.3% 0.099 135.3);
Tailwind
colors: {
  custom: {
    50: '#698255',
    500: '#2c5113',
    950: '#000000',
  },
}
SCSS
$custom: #2c5113;
$custom-light: #698255;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5113",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 95.806,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39289,
    "c": 0.09936,
    "h": 135.3
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#2C5113
secondary
#68368A
accent
#43E5A4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C5113

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

Preview Lab → · Contrast checker → · Palette generator →

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