#124928#124928

#124928 is a dark, moderate green. Relative luminance 0.050; OKLCH L 36.0% C 0.080 H 152.9°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#124928
RGBrgb(18, 73, 40)
HSLhsl(144, 60%, 18%)
HSVhsv(144, 75%, 29%)
CMYKcmyk(75.3%, 0%, 45.2%, 71.4%)
CIE-LABlab(26.87, -26.50, 14.72)
CIE-LCHlch(26.87, 30.31, 150.95°)
OKLaboklab(36.05% -0.0715 0.0366)
OKLCHoklch(36.05% 0.08 152.9)
XYZxyz(3.0147, 5.0466, 2.8223)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124928 #491233
analogous
#174912 #124928 #124943
triadic
#124928 #281249 #492812
tetradic
#124928 #121749 #491233 #494312
square
#124928 #121749 #491233 #494312
split-complementary
#124928 #431249 #491217
monochromatic
#06190D #06190D #124928 #1E7A43 #2AAB5E

Accessibility & contrast

On white

10.45
#124928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#124928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124928
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124928#FFFFFF#000000##FFFFFF
##1249281.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494226
Deuteranopia (green-blind)
#423E2A
Tritanopia (blue-blind)
#004841
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #124928;
/* rgb */ color: rgb(18, 73, 40);
/* oklch */ color: oklch(36.0% 0.080 152.9);
Tailwind
colors: {
  custom: {
    50: '#587c62',
    500: '#124928',
    950: '#000000',
  },
}
SCSS
$custom: #124928;
$custom-light: #587c62;
$custom-dark: #000000;
JSON
{
  "hex": "#124928",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 40
  },
  "hsl": {
    "h": 144,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3605,
    "c": 0.08032,
    "h": 152.9
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#124928
secondary
#823563
accent
#44A4E4
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040905
muted
#797B79

Preview Lab

Preview with #124928

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

Preview Lab → · Contrast checker → · Palette generator →

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