#678227#678227

#678227 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.7% C 0.121 H 124.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#678227
RGBrgb(103, 130, 39)
HSLhsl(78, 54%, 33%)
HSVhsv(78, 70%, 51%)
CMYKcmyk(20.8%, 0%, 70%, 49%)
CIE-LABlab(50.68, -23.72, 44.07)
CIE-LCHlch(50.68, 50.05, 118.30°)
OKLaboklab(56.68% -0.0684 0.0996)
OKLCHoklch(56.68% 0.121 124.5)
XYZxyz(13.9425, 18.9952, 4.8510)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678227 #422782
analogous
#826F27 #678227 #398227
triadic
#678227 #276782 #822767
tetradic
#678227 #27826F #422782 #822739
square
#678227 #27826F #422782 #822739
split-complementary
#678227 #273982 #6F2782
monochromatic
#1C240B #425319 #678227 #8CB135 #AACD57

Accessibility & contrast

On white

4.38
#678227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#678227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678227
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678227#FFFFFF#000000##000000
##6782271.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1A
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#6C7C70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #678227;
/* rgb */ color: rgb(103, 130, 39);
/* oklch */ color: oklch(56.7% 0.121 124.5);
Tailwind
colors: {
  custom: {
    50: '#95a667',
    500: '#678227',
    950: '#000000',
  },
}
SCSS
$custom: #678227;
$custom-light: #95a667;
$custom-dark: #000000;
JSON
{
  "hex": "#678227",
  "rgb": {
    "r": 103,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 77.802,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.12087,
    "h": 124.5
  },
  "luminance": 0.18995
}

Semantic roles & 50–950 ramp

primary
#678227
secondary
#6F53B1
accent
#4BDD76
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #678227

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

Preview Lab → · Contrast checker → · Palette generator →

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