#178123#178123

#178123 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.159 H 144.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#178123
RGBrgb(23, 129, 35)
HSLhsl(127, 70%, 30%)
HSVhsv(127, 82%, 51%)
CMYKcmyk(82.2%, 0%, 72.9%, 49.4%)
CIE-LABlab(46.98, -47.81, 40.84)
CIE-LCHlch(46.98, 62.88, 139.49°)
OKLaboklab(52.72% -0.1292 0.0933)
OKLCHoklch(52.72% 0.159 144.2)
XYZxyz(8.5064, 16.0030, 4.2304)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178123 #811775
analogous
#408117 #178123 #178158
triadic
#178123 #231781 #812317
tetradic
#178123 #174081 #811775 #815817
square
#178123 #174081 #811775 #815817
split-complementary
#178123 #581781 #811740
monochromatic
#051A07 #0E4D15 #178123 #20B531 #37DB4A

Accessibility & contrast

On white

5.00
#178123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#178123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #178123
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178123#FFFFFF#000000##FFFFFF
##1781231.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847414
Deuteranopia (green-blind)
#786C2C
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #178123;
/* rgb */ color: rgb(23, 129, 35);
/* oklch */ color: oklch(52.7% 0.159 144.2);
Tailwind
colors: {
  custom: {
    50: '#69a764',
    500: '#178123',
    950: '#000000',
  },
}
SCSS
$custom: #178123;
$custom-light: #69a764;
$custom-dark: #000000;
JSON
{
  "hex": "#178123",
  "rgb": {
    "r": 23,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 126.792,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.15937,
    "h": 144.2
  },
  "luminance": 0.16004
}

Semantic roles & 50–950 ramp

primary
#178123
secondary
#B53EA8
accent
#3BD8ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #178123

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

Preview Lab → · Contrast checker → · Palette generator →

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