#2C5310#2C5310

#2C5310 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.8% C 0.104 H 135.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2C5310
RGBrgb(44, 83, 16)
HSLhsl(95, 68%, 19%)
HSVhsv(95, 81%, 33%)
CMYKcmyk(47%, 0%, 80.7%, 67.5%)
CIE-LABlab(31.25, -26.55, 32.77)
CIE-LCHlch(31.25, 42.17, 129.01°)
OKLaboklab(39.85% -0.0741 0.0735)
OKLCHoklch(39.85% 0.104 135.3)
XYZxyz(4.2254, 6.7592, 1.5721)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5310 #371053
analogous
#4E5310 #2C5310 #105315
triadic
#2C5310 #102C53 #53102C
tetradic
#2C5310 #104E53 #371053 #531510
square
#2C5310 #104E53 #371053 #531510
split-complementary
#2C5310 #151053 #53104E
monochromatic
#0E1A05 #112006 #2C5310 #47861A #62BA24

Accessibility & contrast

On white

8.93
#2C5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C5310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5310
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5310#FFFFFF#000000##FFFFFF
##2C53101.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C04
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#2B5046
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c5310;
/* rgb */ color: rgb(44, 83, 16);
/* oklch */ color: oklch(39.8% 0.104 135.3);
Tailwind
colors: {
  custom: {
    50: '#698454',
    500: '#2c5310',
    950: '#000000',
  },
}
SCSS
$custom: #2c5310;
$custom-light: #698454;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5310",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 94.925,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.10436,
    "h": 135.3
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#2C5310
secondary
#67328D
accent
#3DEBA2
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5310

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

Preview Lab → · Contrast checker → · Palette generator →

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