#438B17#438B17

#438B17 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.8% C 0.161 H 136.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#438B17
RGBrgb(67, 139, 23)
HSLhsl(97, 72%, 32%)
HSVhsv(97, 83%, 55%)
CMYKcmyk(51.8%, 0%, 83.5%, 45.5%)
CIE-LABlab(51.52, -42.29, 49.92)
CIE-LCHlch(51.52, 65.43, 130.27°)
OKLaboklab(56.81% -0.1176 0.1101)
OKLCHoklch(56.81% 0.161 136.9)
XYZxyz(11.7017, 19.7195, 4.0001)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#438B17 #5F178B
analogous
#7D8B17 #438B17 #178B25
triadic
#438B17 #17438B #8B1743
tetradic
#438B17 #177D8B #5F178B #8B2517
square
#438B17 #177D8B #5F178B #8B2517
split-complementary
#438B17 #25178B #8B177D
monochromatic
#102206 #2A560E #438B17 #5CC020 #7BDF3D

Accessibility & contrast

On white

4.25
#438B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#438B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #438B17
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##438B17#FFFFFF#000000##000000
##438B171.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#3F8676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #438b17;
/* rgb */ color: rgb(67, 139, 23);
/* oklch */ color: oklch(56.8% 0.161 136.9);
Tailwind
colors: {
  custom: {
    50: '#7fad60',
    500: '#438b17',
    950: '#000000',
  },
}
SCSS
$custom: #438b17;
$custom-light: #7fad60;
$custom-dark: #000000;
JSON
{
  "hex": "#438b17",
  "rgb": {
    "r": 67,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 97.241,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.16112,
    "h": 136.9
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

primary
#438B17
secondary
#8E3FBF
accent
#39EEAA
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #438B17

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

Preview Lab → · Contrast checker → · Palette generator →

#438B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva