#124522#124522

#124522 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.7% C 0.081 H 150.2°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#124522
RGBrgb(18, 69, 34)
HSLhsl(139, 59%, 17%)
HSVhsv(139, 74%, 27%)
CMYKcmyk(73.9%, 0%, 50.7%, 72.9%)
CIE-LABlab(25.26, -25.93, 16.33)
CIE-LCHlch(25.26, 30.64, 147.80°)
OKLaboklab(34.69% -0.0699 0.0401)
OKLCHoklch(34.69% 0.081 150.2)
XYZxyz(2.6661, 4.5001, 2.2412)
Luminance0.0450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124522 #451235
analogous
#1B4512 #124522 #12453C
triadic
#124522 #221245 #452212
tetradic
#124522 #121B45 #451235 #453C12
square
#124522 #121B45 #451235 #453C12
split-complementary
#124522 #3C1245 #45121B
monochromatic
#06180C #06180C #124522 #1F763A #2BA652

Accessibility & contrast

On white

11.05
#124522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#124522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124522
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124522#FFFFFF#000000##FFFFFF
##1245221.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F1F
Deuteranopia (green-blind)
#3F3A24
Tritanopia (blue-blind)
#01443D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #124522;
/* rgb */ color: rgb(18, 69, 34);
/* oklch */ color: oklch(34.7% 0.081 150.2);
Tailwind
colors: {
  custom: {
    50: '#57795d',
    500: '#124522',
    950: '#000000',
  },
}
SCSS
$custom: #124522;
$custom-light: #57795d;
$custom-dark: #000000;
JSON
{
  "hex": "#124522",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 34
  },
  "hsl": {
    "h": 138.824,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3469,
    "c": 0.08059,
    "h": 150.2
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#124522
secondary
#7E3567
accent
#46B1E2
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #124522

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

Preview Lab → · Contrast checker → · Palette generator →

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