#125225#125225

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

Color values

HEX#125225
RGBrgb(18, 82, 37)
HSLhsl(138, 64%, 20%)
HSVhsv(138, 78%, 32%)
CMYKcmyk(78%, 0%, 54.9%, 67.8%)
CIE-LABlab(30.15, -30.99, 20.71)
CIE-LCHlch(30.15, 37.27, 146.25°)
OKLaboklab(38.74% -0.0834 0.0502)
OKLCHoklch(38.74% 0.097 149)
XYZxyz(3.6004, 6.2964, 2.7755)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125225 #52123F
analogous
#1F5212 #125225 #125245
triadic
#125225 #251252 #522512
tetradic
#125225 #121F52 #52123F #524512
square
#125225 #121F52 #52123F #524512
split-complementary
#125225 #451252 #52121F
monochromatic
#06190B #07200E #125225 #1D843C #28B652

Accessibility & contrast

On white

9.29
#125225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #125225
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125225#FFFFFF#000000##FFFFFF
##1252251.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A21
Deuteranopia (green-blind)
#4B4528
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #125225;
/* rgb */ color: rgb(18, 82, 37);
/* oklch */ color: oklch(38.7% 0.097 149.0);
Tailwind
colors: {
  custom: {
    50: '#5b8360',
    500: '#125225',
    950: '#000000',
  },
}
SCSS
$custom: #125225;
$custom-light: #5b8360;
$custom-dark: #000000;
JSON
{
  "hex": "#125225",
  "rgb": {
    "r": 18,
    "g": 82,
    "b": 37
  },
  "hsl": {
    "h": 137.813,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38741,
    "c": 0.09734,
    "h": 149
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#125225
secondary
#8B3571
accent
#41B6E7
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #125225

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

Preview Lab → · Contrast checker → · Palette generator →

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