#438216#438216

#438216 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.3% C 0.150 H 135.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#438216
RGBrgb(67, 130, 22)
HSLhsl(95, 71%, 30%)
HSVhsv(95, 83%, 51%)
CMYKcmyk(48.5%, 0%, 83.1%, 49%)
CIE-LABlab(48.53, -38.68, 47.48)
CIE-LCHlch(48.53, 61.24, 129.17°)
OKLaboklab(54.35% -0.108 0.1048)
OKLCHoklch(54.35% 0.151 135.9)
XYZxyz(10.4419, 17.2158, 3.5317)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#438216 #551682
analogous
#798216 #438216 #16821F
triadic
#438216 #164382 #821643
tetradic
#438216 #167982 #551682 #821F16
square
#438216 #167982 #551682 #821F16
split-complementary
#438216 #1F1682 #821679
monochromatic
#0D1A04 #284E0D #438216 #5EB61F #7BDD35

Accessibility & contrast

On white

4.73
#438216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#438216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #438216
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##438216#FFFFFF#000000##FFFFFF
##4382161.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7F7123
Tritanopia (blue-blind)
#407D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #438216;
/* rgb */ color: rgb(67, 130, 22);
/* oklch */ color: oklch(54.3% 0.150 135.9);
Tailwind
colors: {
  custom: {
    50: '#7ea75e',
    500: '#438216',
    950: '#000000',
  },
}
SCSS
$custom: #438216;
$custom-light: #7ea75e;
$custom-dark: #000000;
JSON
{
  "hex": "#438216",
  "rgb": {
    "r": 67,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 95,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54345,
    "c": 0.1505,
    "h": 135.9
  },
  "luminance": 0.17216
}

Semantic roles & 50–950 ramp

primary
#438216
secondary
#843DB7
accent
#3AEEA3
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #438216

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

Preview Lab → · Contrast checker → · Palette generator →

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