#245A0F#245A0F

#245A0F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.5% C 0.119 H 138.8°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#245A0F
RGBrgb(36, 90, 15)
HSLhsl(103, 71%, 21%)
HSVhsv(103, 83%, 35%)
CMYKcmyk(60%, 0%, 83.3%, 64.7%)
CIE-LABlab(33.40, -32.44, 35.11)
CIE-LCHlch(33.40, 47.80, 132.73°)
OKLaboklab(41.51% -0.0895 0.0783)
OKLCHoklch(41.51% 0.119 138.8)
XYZxyz(4.4698, 7.7215, 1.7067)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#245A0F #450F5A
analogous
#495A0F #245A0F #0F5A1F
triadic
#245A0F #0F245A #5A0F24
tetradic
#245A0F #0F495A #450F5A #5A1F0F
square
#245A0F #0F495A #450F5A #5A1F0F
split-complementary
#245A0F #1F0F5A #5A0F49
monochromatic
#0A1A04 #0F2606 #245A0F #398E18 #4EC320

Accessibility & contrast

On white

8.25
#245A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#245A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #245A0F
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##245A0F#FFFFFF#000000##FFFFFF
##245A0F1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5100
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#1F574C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #245a0f;
/* rgb */ color: rgb(36, 90, 15);
/* oklch */ color: oklch(41.5% 0.119 138.8);
Tailwind
colors: {
  custom: {
    50: '#668954',
    500: '#245a0f',
    950: '#000000',
  },
}
SCSS
$custom: #245a0f;
$custom-light: #668954;
$custom-dark: #000000;
JSON
{
  "hex": "#245a0f",
  "rgb": {
    "r": 36,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 103.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4151,
    "c": 0.11892,
    "h": 138.8
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#245A0F
secondary
#783194
accent
#3AEEBC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #245A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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