#124F21#124F21

#124F21 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.097 H 147.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#124F21
RGBrgb(18, 79, 33)
HSLhsl(135, 63%, 19%)
HSVhsv(135, 77%, 31%)
CMYKcmyk(77.2%, 0%, 58.2%, 69%)
CIE-LABlab(28.98, -30.44, 21.56)
CIE-LCHlch(28.98, 37.30, 144.69°)
OKLaboklab(37.76% -0.082 0.0518)
OKLCHoklch(37.76% 0.097 147.7)
XYZxyz(3.3197, 5.8300, 2.3889)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F21 #4F1240
analogous
#224F12 #124F21 #124F40
triadic
#124F21 #21124F #4F2112
tetradic
#124F21 #12224F #4F1240 #4F4012
square
#124F21 #12224F #4F1240 #4F4012
split-complementary
#124F21 #40124F #4F1222
monochromatic
#06190A #071D0C #124F21 #1D8136 #29B34B

Accessibility & contrast

On white

9.70
#124F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#124F21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F21
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F21#FFFFFF#000000##FFFFFF
##124F211.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50471D
Deuteranopia (green-blind)
#494224
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f21;
/* rgb */ color: rgb(18, 79, 33);
/* oklch */ color: oklch(37.8% 0.097 147.7);
Tailwind
colors: {
  custom: {
    50: '#5a815d',
    500: '#124f21',
    950: '#000000',
  },
}
SCSS
$custom: #124f21;
$custom-light: #5a815d;
$custom-dark: #000000;
JSON
{
  "hex": "#124f21",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 33
  },
  "hsl": {
    "h": 134.754,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37755,
    "c": 0.097,
    "h": 147.7
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#124F21
secondary
#883574
accent
#42BEE6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124F21

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

Preview Lab → · Contrast checker → · Palette generator →

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