#123F28#123F28

#123F28 is a dark, moderate green. Relative luminance 0.038; OKLCH L 33.0% C 0.064 H 157.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#123F28
RGBrgb(18, 63, 40)
HSLhsl(149, 56%, 16%)
HSVhsv(149, 71%, 25%)
CMYKcmyk(71.4%, 0%, 36.5%, 75.3%)
CIE-LABlab(23.12, -21.75, 9.71)
CIE-LCHlch(23.12, 23.82, 155.94°)
OKLaboklab(32.97% -0.0592 0.0246)
OKLCHoklch(32.97% 0.064 157.5)
XYZxyz(2.4097, 3.8366, 2.6206)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123F28 #3F1229
analogous
#123F12 #123F28 #123F3E
triadic
#123F28 #28123F #3F2812
tetradic
#123F28 #12123F #3F1229 #3F3E12
square
#123F28 #12123F #3F1229 #3F3E12
split-complementary
#123F28 #3E123F #3F1212
monochromatic
#07180F #07180F #123F28 #206F46 #2D9E64

Accessibility & contrast

On white

11.88
#123F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#123F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123F28
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123F28#FFFFFF#000000##FFFFFF
##123F281.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A27
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#003E39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123f28;
/* rgb */ color: rgb(18, 63, 40);
/* oklch */ color: oklch(33.0% 0.064 157.5);
Tailwind
colors: {
  custom: {
    50: '#567462',
    500: '#123f28',
    950: '#000000',
  },
}
SCSS
$custom: #123f28;
$custom-light: #567462;
$custom-dark: #000000;
JSON
{
  "hex": "#123f28",
  "rgb": {
    "r": 18,
    "g": 63,
    "b": 40
  },
  "hsl": {
    "h": 149.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.32973,
    "c": 0.06408,
    "h": 157.5
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#123F28
secondary
#783557
accent
#4996DF
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #123F28

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

Preview Lab → · Contrast checker → · Palette generator →

#123F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva