#2C530C#2C530C

#2C530C is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.8% C 0.107 H 134.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2C530C
RGBrgb(44, 83, 12)
HSLhsl(93, 75%, 19%)
HSVhsv(93, 86%, 33%)
CMYKcmyk(47%, 0%, 85.5%, 67.5%)
CIE-LABlab(31.23, -26.82, 34.25)
CIE-LCHlch(31.23, 43.50, 128.06°)
OKLaboklab(39.82% -0.0752 0.0759)
OKLCHoklch(39.82% 0.107 134.7)
XYZxyz(4.1982, 6.7483, 1.4291)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C530C #330C53
analogous
#4F530C #2C530C #0C530F
triadic
#2C530C #0C2C53 #530C2C
tetradic
#2C530C #0C4F53 #330C53 #530F0C
square
#2C530C #0C4F53 #330C53 #530F0C
split-complementary
#2C530C #0F0C53 #530C4F
monochromatic
#0E1B04 #101E04 #2C530C #488814 #65BE1B

Accessibility & contrast

On white

8.94
#2C530C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C530C
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C530C#FFFFFF#000000##FFFFFF
##2C530C1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#2B4F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c530c;
/* rgb */ color: rgb(44, 83, 12);
/* oklch */ color: oklch(39.8% 0.107 134.7);
Tailwind
colors: {
  custom: {
    50: '#6a8452',
    500: '#2c530c',
    950: '#000000',
  },
}
SCSS
$custom: #2c530c;
$custom-light: #6a8452;
$custom-dark: #000000;
JSON
{
  "hex": "#2c530c",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 92.958,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39818,
    "c": 0.1068,
    "h": 134.7
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#2C530C
secondary
#622D8E
accent
#36F19D
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2C530C

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

Preview Lab → · Contrast checker → · Palette generator →

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