#2C6310#2C6310

#2C6310 is a dark, vivid yellow-green. Relative luminance 0.095; OKLCH L 44.5% C 0.126 H 137.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2C6310
RGBrgb(44, 99, 16)
HSLhsl(100, 72%, 23%)
HSVhsv(100, 84%, 39%)
CMYKcmyk(55.6%, 0%, 83.8%, 61.2%)
CIE-LABlab(36.92, -33.62, 38.23)
CIE-LCHlch(36.92, 50.91, 131.33°)
OKLaboklab(44.51% -0.0932 0.0849)
OKLCHoklch(44.51% 0.126 137.7)
XYZxyz(5.5939, 9.4961, 2.0283)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6310 #471063
analogous
#566310 #2C6310 #10631D
triadic
#2C6310 #102C63 #63102C
tetradic
#2C6310 #105663 #471063 #631D10
square
#2C6310 #105663 #471063 #631D10
split-complementary
#2C6310 #1D1063 #631056
monochromatic
#0C1A04 #152E07 #2C6310 #439819 #5BCC21

Accessibility & contrast

On white

7.24
#2C6310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2C6310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6310
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6310#FFFFFF#000000##FFFFFF
##2C63101.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A00
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#285F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c6310;
/* rgb */ color: rgb(44, 99, 16);
/* oklch */ color: oklch(44.5% 0.126 137.7);
Tailwind
colors: {
  custom: {
    50: '#6c9056',
    500: '#2c6310',
    950: '#000000',
  },
}
SCSS
$custom: #2c6310;
$custom-light: #6c9056;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6310",
  "rgb": {
    "r": 44,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 99.759,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.44509,
    "c": 0.12604,
    "h": 137.7
  },
  "luminance": 0.09497
}

Semantic roles & 50–950 ramp

primary
#2C6310
secondary
#78339C
accent
#39EFB1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C6310

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

Preview Lab → · Contrast checker → · Palette generator →

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