#438F12#438F12

#438F12 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 57.9% C 0.168 H 137.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#438F12
RGBrgb(67, 143, 18)
HSLhsl(96, 78%, 32%)
HSVhsv(96, 87%, 56%)
CMYKcmyk(53.1%, 0%, 87.4%, 43.9%)
CIE-LABlab(52.82, -44.10, 52.40)
CIE-LCHlch(52.82, 68.49, 130.08°)
OKLaboklab(57.87% -0.1227 0.1146)
OKLCHoklch(57.87% 0.168 137)
XYZxyz(12.2460, 20.8810, 3.9573)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#438F12 #5E128F
analogous
#828F12 #438F12 #128F20
triadic
#438F12 #12438F #8F1243
tetradic
#438F12 #12828F #5E128F #8F2012
square
#438F12 #12828F #5E128F #8F2012
split-complementary
#438F12 #20128F #8F1282
monochromatic
#102204 #2A590B #438F12 #5CC519 #7BE636

Accessibility & contrast

On white

4.06
#438F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#438F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #438F12
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##438F12#FFFFFF#000000##000000
##438F121.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#3E8A79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #438f12;
/* rgb */ color: rgb(67, 143, 18);
/* oklch */ color: oklch(57.9% 0.168 137.0);
Tailwind
colors: {
  custom: {
    50: '#80b05f',
    500: '#438f12',
    950: '#000000',
  },
}
SCSS
$custom: #438f12;
$custom-light: #80b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#438f12",
  "rgb": {
    "r": 67,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 96.48,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5787,
    "c": 0.16791,
    "h": 137
  },
  "luminance": 0.20882
}

Semantic roles & 50–950 ramp

primary
#438F12
secondary
#8D3AC3
accent
#34F4A9
background
#F8FAF5
surface
#EFF5EA
border
#CACFC6
text
#0B1005
muted
#7C7F79

Preview Lab

Preview with #438F12

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

Preview Lab → · Contrast checker → · Palette generator →

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