#124528#124528

#124528 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.8% C 0.074 H 154.5°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#124528
RGBrgb(18, 69, 40)
HSLhsl(146, 59%, 17%)
HSVhsv(146, 74%, 27%)
CMYKcmyk(73.9%, 0%, 42%, 72.9%)
CIE-LABlab(25.37, -24.65, 12.75)
CIE-LCHlch(25.37, 27.75, 152.66°)
OKLaboklab(34.82% -0.0667 0.0319)
OKLCHoklch(34.82% 0.074 154.5)
XYZxyz(2.7603, 4.5377, 2.7375)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124528 #45122F
analogous
#164512 #124528 #124542
triadic
#124528 #281245 #452812
tetradic
#124528 #121645 #45122F #454212
square
#124528 #121645 #45122F #454212
split-complementary
#124528 #421245 #451216
monochromatic
#06180E #06180E #124528 #1F7644 #2BA660

Accessibility & contrast

On white

11.01
#124528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#124528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124528
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124528#FFFFFF#000000##FFFFFF
##1245281.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F26
Deuteranopia (green-blind)
#3E3A2A
Tritanopia (blue-blind)
#00443E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #124528;
/* rgb */ color: rgb(18, 69, 40);
/* oklch */ color: oklch(34.8% 0.074 154.5);
Tailwind
colors: {
  custom: {
    50: '#577962',
    500: '#124528',
    950: '#000000',
  },
}
SCSS
$custom: #124528;
$custom-light: #577962;
$custom-dark: #000000;
JSON
{
  "hex": "#124528",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 40
  },
  "hsl": {
    "h": 145.882,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34822,
    "c": 0.07392,
    "h": 154.5
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#124528
secondary
#7E355E
accent
#469FE2
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030905
muted
#787B79

Preview Lab

Preview with #124528

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

Preview Lab → · Contrast checker → · Palette generator →

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