#124F30#124F30

#124F30 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.1% C 0.081 H 156.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#124F30
RGBrgb(18, 79, 48)
HSLhsl(150, 63%, 19%)
HSVhsv(150, 77%, 31%)
CMYKcmyk(77.2%, 0%, 39.2%, 69%)
CIE-LABlab(29.24, -27.44, 12.92)
CIE-LCHlch(29.24, 30.33, 154.78°)
OKLaboklab(38.06% -0.0743 0.0325)
OKLCHoklch(38.06% 0.081 156.4)
XYZxyz(3.5786, 5.9336, 3.7524)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F30 #4F1231
analogous
#134F12 #124F30 #124F4F
triadic
#124F30 #30124F #4F3012
tetradic
#124F30 #12134F #4F1231 #4F4F12
square
#124F30 #12134F #4F1231 #4F4F12
split-complementary
#124F30 #4F124F #4F1213
monochromatic
#06190F #071D12 #124F30 #1D814E #29B36D

Accessibility & contrast

On white

9.60
#124F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#124F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F30
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F30#FFFFFF#000000##FFFFFF
##124F301.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482E
Deuteranopia (green-blind)
#474332
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #124f30;
/* rgb */ color: rgb(18, 79, 48);
/* oklch */ color: oklch(38.1% 0.081 156.4);
Tailwind
colors: {
  custom: {
    50: '#5a8168',
    500: '#124f30',
    950: '#000000',
  },
}
SCSS
$custom: #124f30;
$custom-light: #5a8168;
$custom-dark: #000000;
JSON
{
  "hex": "#124f30",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 48
  },
  "hsl": {
    "h": 149.508,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3806,
    "c": 0.08105,
    "h": 156.4
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#124F30
secondary
#88355F
accent
#4295E6
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #124F30

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

Preview Lab → · Contrast checker → · Palette generator →

#124F30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva