#438218#438218

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

Color values

HEX#438218
RGBrgb(67, 130, 24)
HSLhsl(96, 69%, 30%)
HSVhsv(96, 82%, 51%)
CMYKcmyk(48.5%, 0%, 81.5%, 49%)
CIE-LABlab(48.54, -38.57, 46.87)
CIE-LCHlch(48.54, 60.70, 129.45°)
OKLaboklab(54.36% -0.1076 0.1039)
OKLCHoklch(54.36% 0.15 136)
XYZxyz(10.4620, 17.2238, 3.6372)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#438218 #571882
analogous
#788218 #438218 #188222
triadic
#438218 #184382 #821843
tetradic
#438218 #187882 #571882 #822218
square
#438218 #187882 #571882 #822218
split-complementary
#438218 #221882 #821878
monochromatic
#0E1B05 #284E0E #438218 #5EB622 #7BDB3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##438218#FFFFFF#000000##FFFFFF
##4382181.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #438218;
/* rgb */ color: rgb(67, 130, 24);
/* oklch */ color: oklch(54.4% 0.150 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ea75f',
    500: '#438218',
    950: '#000000',
  },
}
SCSS
$custom: #438218;
$custom-light: #7ea75f;
$custom-dark: #000000;
JSON
{
  "hex": "#438218",
  "rgb": {
    "r": 67,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 95.66,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54356,
    "c": 0.14953,
    "h": 136
  },
  "luminance": 0.17225
}

Semantic roles & 50–950 ramp

primary
#438218
secondary
#8640B6
accent
#3CECA4
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #438218

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

Preview Lab → · Contrast checker → · Palette generator →

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