#438228#438228

#438228 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.5% C 0.139 H 137.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#438228
RGBrgb(67, 130, 40)
HSLhsl(102, 53%, 33%)
HSVhsv(102, 69%, 51%)
CMYKcmyk(48.5%, 0%, 69.2%, 49%)
CIE-LABlab(48.65, -37.39, 40.88)
CIE-LCHlch(48.65, 55.40, 132.44°)
OKLaboklab(54.48% -0.1033 0.0937)
OKLCHoklch(54.48% 0.139 137.8)
XYZxyz(10.6800, 17.3110, 4.7857)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#438228 #672882
analogous
#708228 #438228 #28823A
triadic
#438228 #284382 #822843
tetradic
#438228 #287082 #672882 #823A28
square
#438228 #287082 #672882 #823A28
split-complementary
#438228 #3A2882 #822870
monochromatic
#13240B #2B531A #438228 #5BB136 #7BCC59

Accessibility & contrast

On white

4.71
#438228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#438228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #438228
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##438228#FFFFFF#000000##FFFFFF
##4382281.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771C
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#3F7D70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #438228;
/* rgb */ color: rgb(67, 130, 40);
/* oklch */ color: oklch(54.5% 0.139 137.8);
Tailwind
colors: {
  custom: {
    50: '#7da767',
    500: '#438228',
    950: '#000000',
  },
}
SCSS
$custom: #438228;
$custom-light: #7da767;
$custom-dark: #000000;
JSON
{
  "hex": "#438228",
  "rgb": {
    "r": 67,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 102,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.13944,
    "h": 137.8
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#438228
secondary
#9555B1
accent
#4BDCB1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #438228

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

Preview Lab → · Contrast checker → · Palette generator →

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