#228114#228114

#228114 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.8% C 0.165 H 141.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#228114
RGBrgb(34, 129, 20)
HSLhsl(112, 73%, 29%)
HSVhsv(112, 84%, 51%)
CMYKcmyk(73.6%, 0%, 84.5%, 49.4%)
CIE-LABlab(47.09, -47.17, 46.35)
CIE-LCHlch(47.09, 66.13, 135.51°)
OKLaboklab(52.85% -0.1287 0.1026)
OKLCHoklch(52.85% 0.165 141.4)
XYZxyz(8.6357, 16.0902, 3.3123)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228114 #731481
analogous
#598114 #228114 #14813D
triadic
#228114 #142281 #811422
tetradic
#228114 #145981 #731481 #813D14
square
#228114 #145981 #731481 #813D14
split-complementary
#228114 #3D1481 #811459
monochromatic
#071A04 #144C0C #228114 #30B61C #47DF30

Accessibility & contrast

On white

4.98
#228114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#228114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228114
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228114#FFFFFF#000000##FFFFFF
##2281141.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#077D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228114;
/* rgb */ color: rgb(34, 129, 20);
/* oklch */ color: oklch(52.8% 0.165 141.4);
Tailwind
colors: {
  custom: {
    50: '#6ea75d',
    500: '#228114',
    950: '#000000',
  },
}
SCSS
$custom: #228114;
$custom-light: #6ea75d;
$custom-dark: #000000;
JSON
{
  "hex": "#228114",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 112.294,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.16462,
    "h": 141.4
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

primary
#228114
secondary
#A63BB6
accent
#38F0D8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #228114

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

Preview Lab → · Contrast checker → · Palette generator →

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