#486F12#486F12

#486F12 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.4% C 0.125 H 130.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#486F12
RGBrgb(72, 111, 18)
HSLhsl(85, 72%, 25%)
HSVhsv(85, 84%, 44%)
CMYKcmyk(35.1%, 0%, 83.8%, 56.5%)
CIE-LABlab(42.45, -28.62, 43.21)
CIE-LCHlch(42.45, 51.83, 123.52°)
OKLaboklab(49.42% -0.0815 0.0951)
OKLCHoklch(49.42% 0.125 130.6)
XYZxyz(8.4661, 12.7900, 2.5948)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#486F12 #39126F
analogous
#6F6712 #486F12 #1A6F12
triadic
#486F12 #12486F #6F1248
tetradic
#486F12 #126F67 #39126F #6F121A
square
#486F12 #126F67 #39126F #6F121A
split-complementary
#486F12 #121A6F #67126F
monochromatic
#111A04 #263A09 #486F12 #6AA41B #8CD823

Accessibility & contrast

On white

5.90
#486F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#486F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #486F12
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##486F12#FFFFFF#000000##FFFFFF
##486F121.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#4A6A5E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #486f12;
/* rgb */ color: rgb(72, 111, 18);
/* oklch */ color: oklch(49.4% 0.125 130.6);
Tailwind
colors: {
  custom: {
    50: '#7f9859',
    500: '#486f12',
    950: '#000000',
  },
}
SCSS
$custom: #486f12;
$custom-light: #7f9859;
$custom-dark: #000000;
JSON
{
  "hex": "#486f12",
  "rgb": {
    "r": 72,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 85.161,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49423,
    "c": 0.12526,
    "h": 130.6
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#486F12
secondary
#6537A6
accent
#39EF85
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #486F12

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

Preview Lab → · Contrast checker → · Palette generator →

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