#245213#245213

#245213 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.105 H 138.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#245213
RGBrgb(36, 82, 19)
HSLhsl(104, 62%, 20%)
HSVhsv(104, 77%, 32%)
CMYKcmyk(56.1%, 0%, 76.8%, 67.8%)
CIE-LABlab(30.54, -28.69, 30.66)
CIE-LCHlch(30.54, 41.99, 133.10°)
OKLaboklab(39.16% -0.0791 0.0697)
OKLCHoklch(39.16% 0.105 138.6)
XYZxyz(3.8622, 6.4564, 1.6587)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245213 #411352
analogous
#435213 #245213 #135222
triadic
#245213 #132452 #521324
tetradic
#245213 #134352 #411352 #522213
square
#245213 #134352 #411352 #522213
split-complementary
#245213 #221352 #521343
monochromatic
#0B1906 #0E2007 #245213 #3A841F #50B52A

Accessibility & contrast

On white

9.16
#245213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##245213#FFFFFF#000000##FFFFFF
##2452131.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)
#554A09
Deuteranopia (green-blind)
#4F4619
Tritanopia (blue-blind)
#204F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #245213;
/* rgb */ color: rgb(36, 82, 19);
/* oklch */ color: oklch(39.2% 0.105 138.6);
Tailwind
colors: {
  custom: {
    50: '#648355',
    500: '#245213',
    950: '#000000',
  },
}
SCSS
$custom: #245213;
$custom-light: #648355;
$custom-dark: #000000;
JSON
{
  "hex": "#245213",
  "rgb": {
    "r": 36,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 103.81,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39162,
    "c": 0.10539,
    "h": 138.6
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#245213
secondary
#74368A
accent
#42E5B9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #245213

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

Preview Lab → · Contrast checker → · Palette generator →

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