#245B0F#245B0F

#245B0F is a dark, vivid green. Relative luminance 0.079; OKLCH L 41.8% C 0.120 H 138.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#245B0F
RGBrgb(36, 91, 15)
HSLhsl(103, 72%, 21%)
HSVhsv(103, 84%, 36%)
CMYKcmyk(60.4%, 0%, 83.5%, 64.3%)
CIE-LABlab(33.76, -32.85, 35.46)
CIE-LCHlch(33.76, 48.34, 132.82°)
OKLaboklab(41.81% -0.0906 0.0791)
OKLCHoklch(41.81% 0.12 138.9)
XYZxyz(4.5547, 7.8913, 1.7350)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245B0F #460F5B
analogous
#4A5B0F #245B0F #0F5B20
triadic
#245B0F #0F245B #5B0F24
tetradic
#245B0F #0F4A5B #460F5B #5B200F
square
#245B0F #0F4A5B #460F5B #5B200F
split-complementary
#245B0F #200F5B #5B0F4A
monochromatic
#0A1A04 #0F2606 #245B0F #399018 #4EC420

Accessibility & contrast

On white

8.14
#245B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#245B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245B0F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245B0F#FFFFFF#000000##FFFFFF
##245B0F1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#1E584D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #245b0f;
/* rgb */ color: rgb(36, 91, 15);
/* oklch */ color: oklch(41.8% 0.120 138.9);
Tailwind
colors: {
  custom: {
    50: '#668a54',
    500: '#245b0f',
    950: '#000000',
  },
}
SCSS
$custom: #245b0f;
$custom-light: #668a54;
$custom-dark: #000000;
JSON
{
  "hex": "#245b0f",
  "rgb": {
    "r": 36,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 103.421,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41807,
    "c": 0.12023,
    "h": 138.9
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#245B0F
secondary
#793195
accent
#39EEBC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #245B0F

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

Preview Lab → · Contrast checker → · Palette generator →

#245B0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva