#256F22#256F22

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

Color values

HEX#256F22
RGBrgb(37, 111, 34)
HSLhsl(118, 53%, 28%)
HSVhsv(118, 69%, 44%)
CMYKcmyk(66.7%, 0%, 69.4%, 56.5%)
CIE-LABlab(41.02, -38.86, 35.02)
CIE-LCHlch(41.02, 52.31, 137.98°)
OKLaboklab(47.87% -0.1057 0.0809)
OKLCHoklch(47.87% 0.133 142.6)
XYZxyz(6.7357, 11.8770, 3.4506)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#256F22 #6C226F
analogous
#4B6F22 #256F22 #226F45
triadic
#256F22 #22256F #6F2225
tetradic
#256F22 #224B6F #6C226F #6F4522
square
#256F22 #224B6F #6C226F #6F4522
split-complementary
#256F22 #45226F #6F224B
monochromatic
#081707 #154014 #256F22 #359E30 #4AC645

Accessibility & contrast

On white

6.22
#256F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #256F22
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##256F22#FFFFFF#000000##FFFFFF
##256F221.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726418
Deuteranopia (green-blind)
#695E29
Tritanopia (blue-blind)
#166C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #256f22;
/* rgb */ color: rgb(37, 111, 34);
/* oklch */ color: oklch(47.9% 0.133 142.6);
Tailwind
colors: {
  custom: {
    50: '#6a9961',
    500: '#256f22',
    950: '#000000',
  },
}
SCSS
$custom: #256f22;
$custom-light: #6a9961;
$custom-dark: #000000;
JSON
{
  "hex": "#256f22",
  "rgb": {
    "r": 37,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 117.662,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47866,
    "c": 0.13309,
    "h": 142.6
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#256F22
secondary
#9F4AA2
accent
#4BDDD7
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #256F22

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

Preview Lab → · Contrast checker → · Palette generator →

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