#228310#228310

#228310 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.168 H 141.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#228310
RGBrgb(34, 131, 16)
HSLhsl(111, 78%, 29%)
HSVhsv(111, 88%, 51%)
CMYKcmyk(74%, 0%, 87.8%, 48.6%)
CIE-LABlab(47.76, -48.06, 48.03)
CIE-LCHlch(47.76, 67.95, 135.01°)
OKLaboklab(53.4% -0.1313 0.1056)
OKLCHoklch(53.4% 0.168 141.2)
XYZxyz(8.8690, 16.6091, 3.2286)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228310 #711083
analogous
#5C8310 #228310 #108338
triadic
#228310 #102283 #831022
tetradic
#228310 #105C83 #711083 #833810
square
#228310 #105C83 #711083 #833810
split-complementary
#228310 #381083 #83105C
monochromatic
#071B03 #144C09 #228310 #30BA17 #46E529

Accessibility & contrast

On white

4.86
#228310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#228310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228310
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228310#FFFFFF#000000##FFFFFF
##2283101.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7C6E20
Tritanopia (blue-blind)
#067F6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #228310;
/* rgb */ color: rgb(34, 131, 16);
/* oklch */ color: oklch(53.4% 0.168 141.2);
Tailwind
colors: {
  custom: {
    50: '#6ea85b',
    500: '#228310',
    950: '#000000',
  },
}
SCSS
$custom: #228310;
$custom-light: #6ea85b;
$custom-dark: #000000;
JSON
{
  "hex": "#228310",
  "rgb": {
    "r": 34,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 110.609,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.534,
    "c": 0.16848,
    "h": 141.2
  },
  "luminance": 0.1661
}

Semantic roles & 50–950 ramp

primary
#228310
secondary
#A436B9
accent
#33F5D6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#081004
muted
#7B7F79

Preview Lab

Preview with #228310

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

Preview Lab → · Contrast checker → · Palette generator →

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