#678012#678012

#678012 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.0% C 0.131 H 122.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#678012
RGBrgb(103, 128, 18)
HSLhsl(74, 75%, 29%)
HSVhsv(74, 86%, 50%)
CMYKcmyk(19.5%, 0%, 85.9%, 49.8%)
CIE-LABlab(49.94, -23.84, 50.64)
CIE-LCHlch(49.94, 55.97, 115.20°)
OKLaboklab(56.03% -0.0705 0.1099)
OKLCHoklch(56.03% 0.131 122.7)
XYZxyz(13.4221, 18.3655, 3.4099)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678012 #2B1280
analogous
#806212 #678012 #308012
triadic
#678012 #126780 #801267
tetradic
#678012 #128062 #2B1280 #801230
square
#678012 #128062 #2B1280 #801230
split-complementary
#678012 #123080 #621280
monochromatic
#161B04 #3C4A0A #678012 #92B61A #B8E12B

Accessibility & contrast

On white

4.49
#678012 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#678012 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678012
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678012#FFFFFF#000000##000000
##6780121.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#6D796D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #678012;
/* rgb */ color: rgb(103, 128, 18);
/* oklch */ color: oklch(56.0% 0.131 122.7);
Tailwind
colors: {
  custom: {
    50: '#96a45d',
    500: '#678012',
    950: '#000000',
  },
}
SCSS
$custom: #678012;
$custom-light: #96a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#678012",
  "rgb": {
    "r": 103,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 73.636,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.13056,
    "h": 122.7
  },
  "luminance": 0.18366
}

Semantic roles & 50–950 ramp

primary
#678012
secondary
#5538B6
accent
#36F261
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678012

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

Preview Lab → · Contrast checker → · Palette generator →

#678012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva