#678315#678315

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

Color values

HEX#678315
RGBrgb(103, 131, 21)
HSLhsl(75, 72%, 30%)
HSVhsv(75, 84%, 51%)
CMYKcmyk(21.4%, 0%, 84%, 48.6%)
CIE-LABlab(50.89, -25.22, 50.66)
CIE-LCHlch(50.89, 56.59, 116.47°)
OKLaboklab(56.81% -0.074 0.1105)
OKLCHoklch(56.81% 0.133 123.8)
XYZxyz(13.8454, 19.1702, 3.6801)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678315 #311583
analogous
#836815 #678315 #308315
triadic
#678315 #156783 #831567
tetradic
#678315 #158368 #311583 #831530
square
#678315 #158368 #311583 #831530
split-complementary
#678315 #153083 #681583
monochromatic
#151A04 #3E4E0D #678315 #90B81D #B3DE34

Accessibility & contrast

On white

4.34
#678315 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##678315#FFFFFF#000000##000000
##6783151.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #678315;
/* rgb */ color: rgb(103, 131, 21);
/* oklch */ color: oklch(56.8% 0.133 123.8);
Tailwind
colors: {
  custom: {
    50: '#96a75e',
    500: '#678315',
    950: '#000000',
  },
}
SCSS
$custom: #678315;
$custom-light: #96a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#678315",
  "rgb": {
    "r": 103,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 75.273,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.13296,
    "h": 123.8
  },
  "luminance": 0.1917
}

Semantic roles & 50–950 ramp

primary
#678315
secondary
#5C3CB8
accent
#39EF67
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678315

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

Preview Lab → · Contrast checker → · Palette generator →

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