#124526#124526

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

Color values

HEX#124526
RGBrgb(18, 69, 38)
HSLhsl(144, 59%, 17%)
HSVhsv(144, 74%, 27%)
CMYKcmyk(73.9%, 0%, 44.9%, 72.9%)
CIE-LABlab(25.33, -25.09, 13.95)
CIE-LCHlch(25.33, 28.71, 150.93°)
OKLaboklab(34.78% -0.0678 0.0347)
OKLCHoklch(34.78% 0.076 152.9)
XYZxyz(2.7272, 4.5245, 2.5629)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124526 #451231
analogous
#184512 #124526 #124540
triadic
#124526 #261245 #452612
tetradic
#124526 #121845 #451231 #454012
square
#124526 #121845 #451231 #454012
split-complementary
#124526 #401245 #451218
monochromatic
#06180D #06180D #124526 #1F7641 #2BA65B

Accessibility & contrast

On white

11.02
#124526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124526
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124526#FFFFFF#000000##FFFFFF
##1245261.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F24
Deuteranopia (green-blind)
#3F3A28
Tritanopia (blue-blind)
#00443D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #124526;
/* rgb */ color: rgb(18, 69, 38);
/* oklch */ color: oklch(34.8% 0.076 152.9);
Tailwind
colors: {
  custom: {
    50: '#577960',
    500: '#124526',
    950: '#000000',
  },
}
SCSS
$custom: #124526;
$custom-light: #577960;
$custom-dark: #000000;
JSON
{
  "hex": "#124526",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 38
  },
  "hsl": {
    "h": 143.529,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34775,
    "c": 0.07614,
    "h": 152.9
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#124526
secondary
#7E3561
accent
#46A5E2
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030905
muted
#787B79

Preview Lab

Preview with #124526

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

Preview Lab → · Contrast checker → · Palette generator →

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