#678112#678112

#678112 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.3% C 0.132 H 123.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#678112
RGBrgb(103, 129, 18)
HSLhsl(74, 76%, 29%)
HSVhsv(74, 86%, 51%)
CMYKcmyk(20.2%, 0%, 86%, 49.4%)
CIE-LABlab(50.25, -24.34, 50.91)
CIE-LCHlch(50.25, 56.43, 115.55°)
OKLaboklab(56.29% -0.0718 0.1105)
OKLCHoklch(56.29% 0.132 123)
XYZxyz(13.5532, 18.6277, 3.4536)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678112 #2C1281
analogous
#816412 #678112 #308112
triadic
#678112 #126781 #811267
tetradic
#678112 #128164 #2C1281 #811230
square
#678112 #128164 #2C1281 #811230
split-complementary
#678112 #123081 #641281
monochromatic
#151B04 #3C4B0B #678112 #92B719 #B7E22C

Accessibility & contrast

On white

4.44
#678112 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#678112 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678112
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678112#FFFFFF#000000##000000
##6781121.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#86771F
Tritanopia (blue-blind)
#6D7A6D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #678112;
/* rgb */ color: rgb(103, 129, 18);
/* oklch */ color: oklch(56.3% 0.132 123.0);
Tailwind
colors: {
  custom: {
    50: '#96a55d',
    500: '#678112',
    950: '#000000',
  },
}
SCSS
$custom: #678112;
$custom-light: #96a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#678112",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 74.054,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.13179,
    "h": 123
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#678112
secondary
#5638B7
accent
#36F262
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678112

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

Preview Lab → · Contrast checker → · Palette generator →

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