#125833#125833

#125833 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.092 H 154.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#125833
RGBrgb(18, 88, 51)
HSLhsl(148, 66%, 21%)
HSVhsv(148, 80%, 35%)
CMYKcmyk(79.5%, 0%, 42%, 65.5%)
CIE-LABlab(32.58, -30.75, 15.55)
CIE-LCHlch(32.58, 34.46, 153.18°)
OKLaboklab(40.83% -0.083 0.0388)
OKLCHoklch(40.83% 0.092 154.9)
XYZxyz(4.3363, 7.3466, 4.3208)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#125833 #581237
analogous
#145812 #125833 #125856
triadic
#125833 #331258 #583312
tetradic
#125833 #121458 #581237 #585612
square
#125833 #121458 #581237 #585612
split-complementary
#125833 #561258 #581214
monochromatic
#05190F #082516 #125833 #1C8B50 #27BE6E

Accessibility & contrast

On white

8.50
#125833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#125833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #125833
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##125833#FFFFFF#000000##FFFFFF
##1258331.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585030
Deuteranopia (green-blind)
#4F4A35
Tritanopia (blue-blind)
#00574F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #125833;
/* rgb */ color: rgb(18, 88, 51);
/* oklch */ color: oklch(40.8% 0.092 154.9);
Tailwind
colors: {
  custom: {
    50: '#5c886b',
    500: '#125833',
    950: '#000000',
  },
}
SCSS
$custom: #125833;
$custom-light: #5c886b;
$custom-dark: #000000;
JSON
{
  "hex": "#125833",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 51
  },
  "hsl": {
    "h": 148.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40831,
    "c": 0.09159,
    "h": 154.9
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#125833
secondary
#913566
accent
#3F99E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #125833

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

Preview Lab → · Contrast checker → · Palette generator →

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