#438E12#438E12

#438E12 is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.6% C 0.167 H 136.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#438E12
RGBrgb(67, 142, 18)
HSLhsl(96, 78%, 31%)
HSVhsv(96, 87%, 56%)
CMYKcmyk(52.8%, 0%, 87.3%, 44.3%)
CIE-LABlab(52.49, -43.71, 52.12)
CIE-LCHlch(52.49, 68.02, 129.99°)
OKLaboklab(57.6% -0.1217 0.114)
OKLCHoklch(57.6% 0.167 136.9)
XYZxyz(12.0966, 20.5821, 3.9075)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#438E12 #5D128E
analogous
#818E12 #438E12 #128E1F
triadic
#438E12 #12438E #8E1243
tetradic
#438E12 #12818E #5D128E #8E1F12
square
#438E12 #12818E #5D128E #8E1F12
split-complementary
#438E12 #1F128E #8E1281
monochromatic
#102104 #29580B #438E12 #5DC419 #7BE535

Accessibility & contrast

On white

4.10
#438E12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#438E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #438E12
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##438E12#FFFFFF#000000##000000
##438E121.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#3E8978
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #438e12;
/* rgb */ color: rgb(67, 142, 18);
/* oklch */ color: oklch(57.6% 0.167 136.9);
Tailwind
colors: {
  custom: {
    50: '#80b05e',
    500: '#438e12',
    950: '#000000',
  },
}
SCSS
$custom: #438e12;
$custom-light: #80b05e;
$custom-dark: #000000;
JSON
{
  "hex": "#438e12",
  "rgb": {
    "r": 67,
    "g": 142,
    "b": 18
  },
  "hsl": {
    "h": 96.29,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.16672,
    "h": 136.9
  },
  "luminance": 0.20583
}

Semantic roles & 50–950 ramp

primary
#438E12
secondary
#8C3AC2
accent
#34F4A8
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #438E12

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

Preview Lab → · Contrast checker → · Palette generator →

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