#255712#255712

#255712 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.113 H 138.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#255712
RGBrgb(37, 87, 18)
HSLhsl(103, 66%, 21%)
HSVhsv(103, 79%, 34%)
CMYKcmyk(57.5%, 0%, 79.3%, 65.9%)
CIE-LABlab(32.38, -30.63, 32.97)
CIE-LCHlch(32.38, 45.00, 132.90°)
OKLaboklab(40.69% -0.0845 0.0743)
OKLCHoklch(40.69% 0.113 138.7)
XYZxyz(4.2802, 7.2530, 1.7466)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255712 #441257
analogous
#475712 #255712 #125721
triadic
#255712 #122557 #571225
tetradic
#255712 #124757 #441257 #572112
square
#255712 #124757 #441257 #572112
split-complementary
#255712 #211257 #571247
monochromatic
#0B1905 #0F2408 #255712 #3B8A1C #50BC27

Accessibility & contrast

On white

8.57
#255712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#255712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255712
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255712#FFFFFF#000000##FFFFFF
##2557121.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#534B19
Tritanopia (blue-blind)
#21544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #255712;
/* rgb */ color: rgb(37, 87, 18);
/* oklch */ color: oklch(40.7% 0.113 138.7);
Tailwind
colors: {
  custom: {
    50: '#668755',
    500: '#255712',
    950: '#000000',
  },
}
SCSS
$custom: #255712;
$custom-light: #668755;
$custom-dark: #000000;
JSON
{
  "hex": "#255712",
  "rgb": {
    "r": 37,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 103.478,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40686,
    "c": 0.11251,
    "h": 138.7
  },
  "luminance": 0.07253
}

Semantic roles & 50–950 ramp

primary
#255712
secondary
#773590
accent
#3FE9BA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #255712

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

Preview Lab → · Contrast checker → · Palette generator →

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