#2C4B10#2C4B10

#2C4B10 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.093 H 133.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2C4B10
RGBrgb(44, 75, 16)
HSLhsl(92, 65%, 18%)
HSVhsv(92, 79%, 29%)
CMYKcmyk(41.3%, 0%, 78.7%, 70.6%)
CIE-LABlab(28.39, -22.69, 29.91)
CIE-LCHlch(28.39, 37.54, 127.18°)
OKLaboklab(37.51% -0.0637 0.0675)
OKLCHoklch(37.51% 0.093 133.3)
XYZxyz(3.6483, 5.6049, 1.3797)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B10 #2F104B
analogous
#494B10 #2C4B10 #104B11
triadic
#2C4B10 #102C4B #4B102C
tetradic
#2C4B10 #10494B #2F104B #4B1110
square
#2C4B10 #10494B #2F104B #4B1110
split-complementary
#2C4B10 #11104B #4B1049
monochromatic
#0F1905 #0F1905 #2C4B10 #4A7D1B #67B026

Accessibility & contrast

On white

9.90
#2C4B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C4B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B10
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B10#FFFFFF#000000##FFFFFF
##2C4B101.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4506
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#2C483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c4b10;
/* rgb */ color: rgb(44, 75, 16);
/* oklch */ color: oklch(37.5% 0.093 133.3);
Tailwind
colors: {
  custom: {
    50: '#687d52',
    500: '#2c4b10',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b10;
$custom-light: #687d52;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b10",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 91.525,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37507,
    "c": 0.09279,
    "h": 133.3
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#2C4B10
secondary
#5E3285
accent
#40E898
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4B10

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

Preview Lab → · Contrast checker → · Palette generator →

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