#125315#125315

#125315 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.8% C 0.113 H 143.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#125315
RGBrgb(18, 83, 21)
HSLhsl(123, 64%, 20%)
HSVhsv(123, 78%, 33%)
CMYKcmyk(78.3%, 0%, 74.7%, 67.5%)
CIE-LABlab(30.32, -33.68, 29.35)
CIE-LCHlch(30.32, 44.67, 138.93°)
OKLaboklab(38.82% -0.0913 0.0673)
OKLCHoklch(38.82% 0.113 143.6)
XYZxyz(3.4778, 6.3689, 1.7553)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125315 #531250
analogous
#305312 #125315 #125335
triadic
#125315 #151253 #531512
tetradic
#125315 #123053 #531250 #533512
square
#125315 #123053 #531250 #533512
split-complementary
#125315 #351253 #531230
monochromatic
#051906 #072108 #125315 #1D8522 #28B82E

Accessibility & contrast

On white

9.24
#125315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#125315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125315
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125315#FFFFFF#000000##FFFFFF
##1253151.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0C
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125315;
/* rgb */ color: rgb(18, 83, 21);
/* oklch */ color: oklch(38.8% 0.113 143.6);
Tailwind
colors: {
  custom: {
    50: '#5c8456',
    500: '#125315',
    950: '#000000',
  },
}
SCSS
$custom: #125315;
$custom-light: #5c8456;
$custom-dark: #000000;
JSON
{
  "hex": "#125315",
  "rgb": {
    "r": 18,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 122.769,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38825,
    "c": 0.11343,
    "h": 143.6
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#125315
secondary
#8C3588
accent
#40E0E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #125315

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

Preview Lab → · Contrast checker → · Palette generator →

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