#256F28#256F28

#256F28 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.128 H 143.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#256F28
RGBrgb(37, 111, 40)
HSLhsl(122, 50%, 29%)
HSVhsv(122, 67%, 44%)
CMYKcmyk(66.7%, 0%, 64%, 56.5%)
CIE-LABlab(41.08, -38.16, 32.22)
CIE-LCHlch(41.08, 49.95, 139.82°)
OKLaboklab(47.94% -0.1035 0.0756)
OKLCHoklch(47.94% 0.128 143.9)
XYZxyz(6.8300, 11.9147, 3.9469)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256F28 #6F256C
analogous
#476F25 #256F28 #256F4D
triadic
#256F28 #28256F #6F2825
tetradic
#256F28 #25476F #6F256C #6F4D25
square
#256F28 #25476F #6F256C #6F4D25
split-complementary
#256F28 #4D256F #6F2547
monochromatic
#081708 #164117 #256F28 #349D39 #4BC350

Accessibility & contrast

On white

6.21
#256F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#256F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #256F28
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256F28#FFFFFF#000000##FFFFFF
##256F281.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716520
Deuteranopia (green-blind)
#685E2E
Tritanopia (blue-blind)
#146C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #256f28;
/* rgb */ color: rgb(37, 111, 40);
/* oklch */ color: oklch(47.9% 0.128 143.9);
Tailwind
colors: {
  custom: {
    50: '#6a9965',
    500: '#256f28',
    950: '#000000',
  },
}
SCSS
$custom: #256f28;
$custom-light: #6a9965;
$custom-dark: #000000;
JSON
{
  "hex": "#256f28",
  "rgb": {
    "r": 37,
    "g": 111,
    "b": 40
  },
  "hsl": {
    "h": 122.432,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47935,
    "c": 0.12815,
    "h": 143.9
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#256F28
secondary
#A24E9E
accent
#4ED4DA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #256F28

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

Preview Lab → · Contrast checker → · Palette generator →

#256F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva