#438221#438221

#438221 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.4% C 0.144 H 136.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#438221
RGBrgb(67, 130, 33)
HSLhsl(99, 60%, 32%)
HSVhsv(99, 75%, 51%)
CMYKcmyk(48.5%, 0%, 74.6%, 49%)
CIE-LABlab(48.60, -37.97, 43.72)
CIE-LCHlch(48.60, 57.91, 130.98°)
OKLaboklab(54.42% -0.1054 0.0987)
OKLCHoklch(54.42% 0.144 136.9)
XYZxyz(10.5716, 17.2677, 4.2145)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#438221 #602182
analogous
#748221 #438221 #218230
triadic
#438221 #214382 #822143
tetradic
#438221 #217482 #602182 #823021
square
#438221 #217482 #602182 #823021
split-complementary
#438221 #302182 #822174
monochromatic
#112008 #2A5115 #438221 #5CB32D #7BD24C

Accessibility & contrast

On white

4.72
#438221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#438221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #438221
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##438221#FFFFFF#000000##FFFFFF
##4382211.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877710
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#407D6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #438221;
/* rgb */ color: rgb(67, 130, 33);
/* oklch */ color: oklch(54.4% 0.144 136.9);
Tailwind
colors: {
  custom: {
    50: '#7da763',
    500: '#438221',
    950: '#000000',
  },
}
SCSS
$custom: #438221;
$custom-light: #7da763;
$custom-dark: #000000;
JSON
{
  "hex": "#438221",
  "rgb": {
    "r": 67,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 98.969,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54419,
    "c": 0.14433,
    "h": 136.9
  },
  "luminance": 0.17268
}

Semantic roles & 50–950 ramp

primary
#438221
secondary
#8F4AB4
accent
#45E3AB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #438221

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

Preview Lab → · Contrast checker → · Palette generator →

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