#124827#124827

#124827 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.7% C 0.080 H 152.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#124827
RGBrgb(18, 72, 39)
HSLhsl(143, 60%, 18%)
HSVhsv(143, 75%, 28%)
CMYKcmyk(75%, 0%, 45.8%, 71.8%)
CIE-LABlab(26.48, -26.26, 14.82)
CIE-LCHlch(26.48, 30.15, 150.55°)
OKLaboklab(35.72% -0.0709 0.0368)
OKLCHoklch(35.72% 0.08 152.6)
XYZxyz(2.9328, 4.9095, 2.7121)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124827 #481233
analogous
#184812 #124827 #124842
triadic
#124827 #271248 #482712
tetradic
#124827 #121848 #481233 #484212
square
#124827 #121848 #481233 #484212
split-complementary
#124827 #421248 #481218
monochromatic
#06180D #06180D #124827 #1E7942 #2AAA5C

Accessibility & contrast

On white

10.60
#124827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#124827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124827
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124827#FFFFFF#000000##FFFFFF
##1248271.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484125
Deuteranopia (green-blind)
#413D29
Tritanopia (blue-blind)
#004740
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #124827;
/* rgb */ color: rgb(18, 72, 39);
/* oklch */ color: oklch(35.7% 0.080 152.6);
Tailwind
colors: {
  custom: {
    50: '#587b61',
    500: '#124827',
    950: '#000000',
  },
}
SCSS
$custom: #124827;
$custom-light: #587b61;
$custom-dark: #000000;
JSON
{
  "hex": "#124827",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 39
  },
  "hsl": {
    "h": 143.333,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35721,
    "c": 0.07983,
    "h": 152.6
  },
  "luminance": 0.0491
}

Semantic roles & 50–950 ramp

primary
#124827
secondary
#813563
accent
#45A6E3
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040905
muted
#797B79

Preview Lab

Preview with #124827

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

Preview Lab → · Contrast checker → · Palette generator →

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