#438A1F#438A1F

#438A1F is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.6% C 0.156 H 137.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#438A1F
RGBrgb(67, 138, 31)
HSLhsl(100, 63%, 33%)
HSVhsv(100, 78%, 54%)
CMYKcmyk(51.4%, 0%, 77.5%, 45.9%)
CIE-LABlab(51.23, -41.42, 47.08)
CIE-LCHlch(51.23, 62.70, 131.34°)
OKLaboklab(56.58% -0.1148 0.1054)
OKLCHoklch(56.58% 0.156 137.5)
XYZxyz(11.6502, 19.4683, 4.4399)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#438A1F #661F8A
analogous
#788A1F #438A1F #1F8A30
triadic
#438A1F #1F438A #8A1F43
tetradic
#438A1F #1F788A #661F8A #8A301F
square
#438A1F #1F788A #661F8A #8A301F
split-complementary
#438A1F #301F8A #8A1F78
monochromatic
#122609 #2B5814 #438A1F #5BBC2A #7BD74C

Accessibility & contrast

On white

4.29
#438A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#438A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #438A1F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##438A1F#FFFFFF#000000##000000
##438A1F1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#3E8576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #438a1f;
/* rgb */ color: rgb(67, 138, 31);
/* oklch */ color: oklch(56.6% 0.156 137.5);
Tailwind
colors: {
  custom: {
    50: '#7fad63',
    500: '#438a1f',
    950: '#000000',
  },
}
SCSS
$custom: #438a1f;
$custom-light: #7fad63;
$custom-dark: #000000;
JSON
{
  "hex": "#438a1f",
  "rgb": {
    "r": 67,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 99.813,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56581,
    "c": 0.15582,
    "h": 137.5
  },
  "luminance": 0.19469
}

Semantic roles & 50–950 ramp

primary
#438A1F
secondary
#944BBA
accent
#41E6AF
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #438A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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