#438018#438018

#438018 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 53.8% C 0.147 H 135.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#438018
RGBrgb(67, 128, 24)
HSLhsl(95, 68%, 30%)
HSVhsv(95, 81%, 50%)
CMYKcmyk(47.7%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.88, -37.73, 46.24)
CIE-LCHlch(47.88, 59.68, 129.21°)
OKLaboklab(53.81% -0.1053 0.1025)
OKLCHoklch(53.81% 0.147 135.8)
XYZxyz(10.1985, 16.6969, 3.5494)
Luminance0.1670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#438018 #551880
analogous
#778018 #438018 #188021
triadic
#438018 #184380 #801843
tetradic
#438018 #187780 #551880 #802118
square
#438018 #187780 #551880 #802118
split-complementary
#438018 #211880 #801877
monochromatic
#0D1A05 #284C0E #438018 #5EB422 #7BDA39

Accessibility & contrast

On white

4.84
#438018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#438018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #438018
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##438018#FFFFFF#000000##FFFFFF
##4380181.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#417B6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #438018;
/* rgb */ color: rgb(67, 128, 24);
/* oklch */ color: oklch(53.8% 0.147 135.8);
Tailwind
colors: {
  custom: {
    50: '#7da55e',
    500: '#438018',
    950: '#000000',
  },
}
SCSS
$custom: #438018;
$custom-light: #7da55e;
$custom-dark: #000000;
JSON
{
  "hex": "#438018",
  "rgb": {
    "r": 67,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 95.192,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5381,
    "c": 0.147,
    "h": 135.8
  },
  "luminance": 0.16698
}

Semantic roles & 50–950 ramp

primary
#438018
secondary
#8440B4
accent
#3DEBA3
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #438018

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

Preview Lab → · Contrast checker → · Palette generator →

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