#125223#125223

#125223 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.099 H 148.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#125223
RGBrgb(18, 82, 35)
HSLhsl(136, 64%, 20%)
HSVhsv(136, 78%, 32%)
CMYKcmyk(78%, 0%, 57.3%, 67.8%)
CIE-LABlab(30.12, -31.34, 21.81)
CIE-LCHlch(30.12, 38.18, 145.16°)
OKLaboklab(38.71% -0.0844 0.0525)
OKLCHoklch(38.71% 0.099 148.1)
XYZxyz(3.5698, 6.2841, 2.6146)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125223 #521241
analogous
#215212 #125223 #125243
triadic
#125223 #231252 #522312
tetradic
#125223 #122152 #521241 #524312
square
#125223 #122152 #521241 #524312
split-complementary
#125223 #431252 #521221
monochromatic
#06190B #07200E #125223 #1D8438 #28B64E

Accessibility & contrast

On white

9.30
#125223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#125223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125223
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125223#FFFFFF#000000##FFFFFF
##1252231.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1F
Deuteranopia (green-blind)
#4B4527
Tritanopia (blue-blind)
#005047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125223;
/* rgb */ color: rgb(18, 82, 35);
/* oklch */ color: oklch(38.7% 0.099 148.1);
Tailwind
colors: {
  custom: {
    50: '#5b835f',
    500: '#125223',
    950: '#000000',
  },
}
SCSS
$custom: #125223;
$custom-light: #5b835f;
$custom-dark: #000000;
JSON
{
  "hex": "#125223",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 35
  },
  "hsl": {
    "h": 135.938,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38707,
    "c": 0.09939,
    "h": 148.1
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#125223
secondary
#8B3574
accent
#41BBE7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #125223

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

Preview Lab → · Contrast checker → · Palette generator →

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