#678222#678222

#678222 is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.6% C 0.124 H 124.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#678222
RGBrgb(103, 130, 34)
HSLhsl(77, 59%, 32%)
HSVhsv(77, 74%, 51%)
CMYKcmyk(20.8%, 0%, 73.8%, 49%)
CIE-LABlab(50.65, -24.06, 46.05)
CIE-LCHlch(50.65, 51.96, 117.58°)
OKLaboklab(56.63% -0.0698 0.103)
OKLCHoklch(56.63% 0.124 124.1)
XYZxyz(13.8650, 18.9642, 4.4431)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678222 #3D2282
analogous
#826D22 #678222 #378222
triadic
#678222 #226782 #822267
tetradic
#678222 #22826D #3D2282 #822237
square
#678222 #22826D #3D2282 #822237
split-complementary
#678222 #223782 #6D2282
monochromatic
#1A2109 #415115 #678222 #8DB32F #ACD14E

Accessibility & contrast

On white

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

On black

4.79
#678222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678222
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678222#FFFFFF#000000##000000
##6782221.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7911
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#6C7B6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #678222;
/* rgb */ color: rgb(103, 130, 34);
/* oklch */ color: oklch(56.6% 0.124 124.1);
Tailwind
colors: {
  custom: {
    50: '#95a664',
    500: '#678222',
    950: '#000000',
  },
}
SCSS
$custom: #678222;
$custom-light: #95a664;
$custom-dark: #000000;
JSON
{
  "hex": "#678222",
  "rgb": {
    "r": 103,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 76.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56634,
    "c": 0.12441,
    "h": 124.1
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#678222
secondary
#694CB4
accent
#46E272
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #678222

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

Preview Lab → · Contrast checker → · Palette generator →

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