#245211#245211

#245211 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.1% C 0.107 H 138.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#245211
RGBrgb(36, 82, 17)
HSLhsl(102, 66%, 19%)
HSVhsv(102, 79%, 32%)
CMYKcmyk(56.1%, 0%, 79.3%, 67.8%)
CIE-LABlab(30.52, -28.86, 31.50)
CIE-LCHlch(30.52, 42.72, 132.50°)
OKLaboklab(39.14% -0.0797 0.0711)
OKLCHoklch(39.14% 0.107 138.3)
XYZxyz(3.8459, 6.4498, 1.5725)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245211 #3F1152
analogous
#455211 #245211 #11521F
triadic
#245211 #112452 #521124
tetradic
#245211 #114552 #3F1152 #521F11
square
#245211 #114552 #3F1152 #521F11
split-complementary
#245211 #1F1152 #521145
monochromatic
#0B1905 #0E1F06 #245211 #3A851C #51B726

Accessibility & contrast

On white

9.17
#245211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#245211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245211
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245211#FFFFFF#000000##FFFFFF
##2452111.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A06
Deuteranopia (green-blind)
#4F4617
Tritanopia (blue-blind)
#204F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #245211;
/* rgb */ color: rgb(36, 82, 17);
/* oklch */ color: oklch(39.1% 0.107 138.3);
Tailwind
colors: {
  custom: {
    50: '#648354',
    500: '#245211',
    950: '#000000',
  },
}
SCSS
$custom: #245211;
$custom-light: #648354;
$custom-dark: #000000;
JSON
{
  "hex": "#245211",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 102.462,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39144,
    "c": 0.10682,
    "h": 138.3
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#245211
secondary
#72348B
accent
#3FE9B7
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #245211

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

Preview Lab → · Contrast checker → · Palette generator →

#245211 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva