#678312#678312

#678312 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.8% C 0.134 H 123.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#678312
RGBrgb(103, 131, 18)
HSLhsl(75, 76%, 29%)
HSVhsv(75, 86%, 51%)
CMYKcmyk(21.4%, 0%, 86.3%, 48.6%)
CIE-LABlab(50.87, -25.33, 51.45)
CIE-LCHlch(50.87, 57.35, 116.21°)
OKLaboklab(56.79% -0.0745 0.1117)
OKLCHoklch(56.79% 0.134 123.7)
XYZxyz(13.8192, 19.1597, 3.5423)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678312 #2E1283
analogous
#836712 #678312 #2F8312
triadic
#678312 #126783 #831267
tetradic
#678312 #128367 #2E1283 #83122F
square
#678312 #128367 #2E1283 #83122F
split-complementary
#678312 #122F83 #671283
monochromatic
#151B04 #3D4D0B #678312 #91B919 #B5E22D

Accessibility & contrast

On white

4.35
#678312 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#678312 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678312
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678312#FFFFFF#000000##000000
##6783121.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#87791F
Tritanopia (blue-blind)
#6D7C6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #678312;
/* rgb */ color: rgb(103, 131, 18);
/* oklch */ color: oklch(56.8% 0.134 123.7);
Tailwind
colors: {
  custom: {
    50: '#96a75d',
    500: '#678312',
    950: '#000000',
  },
}
SCSS
$custom: #678312;
$custom-light: #96a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#678312",
  "rgb": {
    "r": 103,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 74.867,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56792,
    "c": 0.13424,
    "h": 123.7
  },
  "luminance": 0.1916
}

Semantic roles & 50–950 ramp

primary
#678312
secondary
#5838B8
accent
#35F264
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678312

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

Preview Lab → · Contrast checker → · Palette generator →

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