#125431#125431

#125431 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.088 H 155.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#125431
RGBrgb(18, 84, 49)
HSLhsl(148, 65%, 20%)
HSVhsv(148, 79%, 33%)
CMYKcmyk(78.6%, 0%, 41.7%, 67.1%)
CIE-LABlab(31.09, -29.44, 14.78)
CIE-LCHlch(31.09, 32.94, 153.35°)
OKLaboklab(39.59% -0.0795 0.0369)
OKLCHoklch(39.59% 0.088 155.1)
XYZxyz(3.9738, 6.6905, 3.9871)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125431 #541235
analogous
#145412 #125431 #125452
triadic
#125431 #311254 #543112
tetradic
#125431 #121454 #541235 #545212
square
#125431 #121454 #541235 #545212
split-complementary
#125431 #521254 #541214
monochromatic
#05190F #072214 #125431 #1D864E #28B96C

Accessibility & contrast

On white

8.98
#125431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#125431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125431
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125431#FFFFFF#000000##FFFFFF
##1254311.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2F
Deuteranopia (green-blind)
#4C4733
Tritanopia (blue-blind)
#00534B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #125431;
/* rgb */ color: rgb(18, 84, 49);
/* oklch */ color: oklch(39.6% 0.088 155.1);
Tailwind
colors: {
  custom: {
    50: '#5b8569',
    500: '#125431',
    950: '#000000',
  },
}
SCSS
$custom: #125431;
$custom-light: #5b8569;
$custom-dark: #000000;
JSON
{
  "hex": "#125431",
  "rgb": {
    "r": 18,
    "g": 84,
    "b": 49
  },
  "hsl": {
    "h": 148.182,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39589,
    "c": 0.08766,
    "h": 155.1
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#125431
secondary
#8D3564
accent
#4099E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #125431

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

Preview Lab → · Contrast checker → · Palette generator →

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