#125F23#125F23

#125F23 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.118 H 146.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#125F23
RGBrgb(18, 95, 35)
HSLhsl(133, 68%, 22%)
HSVhsv(133, 81%, 37%)
CMYKcmyk(81.1%, 0%, 63.2%, 62.7%)
CIE-LABlab(34.87, -36.47, 27.48)
CIE-LCHlch(34.87, 45.67, 143.00°)
OKLaboklab(42.64% -0.0982 0.065)
OKLCHoklch(42.64% 0.118 146.5)
XYZxyz(4.6447, 8.4338, 2.9729)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125F23 #5F124E
analogous
#275F12 #125F23 #125F4A
triadic
#125F23 #23125F #5F2312
tetradic
#125F23 #12275F #5F124E #5F4A12
square
#125F23 #12275F #5F124E #5F4A12
split-complementary
#125F23 #4A125F #5F1227
monochromatic
#051A09 #082C10 #125F23 #1C9236 #25C649

Accessibility & contrast

On white

7.82
#125F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#125F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125F23
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125F23#FFFFFF#000000##FFFFFF
##125F231.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60561D
Deuteranopia (green-blind)
#585028
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #125f23;
/* rgb */ color: rgb(18, 95, 35);
/* oklch */ color: oklch(42.6% 0.118 146.5);
Tailwind
colors: {
  custom: {
    50: '#5e8d60',
    500: '#125f23',
    950: '#000000',
  },
}
SCSS
$custom: #125f23;
$custom-light: #5e8d60;
$custom-dark: #000000;
JSON
{
  "hex": "#125f23",
  "rgb": {
    "r": 18,
    "g": 95,
    "b": 35
  },
  "hsl": {
    "h": 133.247,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42643,
    "c": 0.11774,
    "h": 146.5
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#125F23
secondary
#973682
accent
#3DC5EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #125F23

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

Preview Lab → · Contrast checker → · Palette generator →

#125F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva