#2C5110#2C5110

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

Color values

HEX#2C5110
RGBrgb(44, 81, 16)
HSLhsl(94, 67%, 19%)
HSVhsv(94, 80%, 32%)
CMYKcmyk(45.7%, 0%, 80.2%, 68.2%)
CIE-LABlab(30.54, -25.60, 32.06)
CIE-LCHlch(30.54, 41.03, 128.61°)
OKLaboklab(39.26% -0.0716 0.072)
OKLCHoklch(39.26% 0.102 134.8)
XYZxyz(4.0746, 6.4575, 1.5218)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5110 #351051
analogous
#4D5110 #2C5110 #105115
triadic
#2C5110 #102C51 #51102C
tetradic
#2C5110 #104D51 #351051 #511510
square
#2C5110 #104D51 #351051 #511510
split-complementary
#2C5110 #151051 #51104D
monochromatic
#0E1A05 #101E06 #2C5110 #48841A #64B724

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5110#FFFFFF#000000##FFFFFF
##2C51101.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)
#544A05
Deuteranopia (green-blind)
#4F4716
Tritanopia (blue-blind)
#2B4E44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c5110;
/* rgb */ color: rgb(44, 81, 16);
/* oklch */ color: oklch(39.3% 0.102 134.8);
Tailwind
colors: {
  custom: {
    50: '#698253',
    500: '#2c5110',
    950: '#000000',
  },
}
SCSS
$custom: #2c5110;
$custom-light: #698253;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5110",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 94.154,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39262,
    "c": 0.10152,
    "h": 134.8
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#2C5110
secondary
#65328B
accent
#3EEAA0
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2C5110

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

Preview Lab → · Contrast checker → · Palette generator →

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