#678722#678722

#678722 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.9% C 0.131 H 125.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#678722
RGBrgb(103, 135, 34)
HSLhsl(79, 60%, 33%)
HSVhsv(79, 75%, 53%)
CMYKcmyk(23.7%, 0%, 74.8%, 47.1%)
CIE-LABlab(52.20, -26.54, 47.59)
CIE-LCHlch(52.20, 54.48, 119.15°)
OKLaboklab(57.9% -0.0766 0.1062)
OKLCHoklch(57.9% 0.131 125.8)
XYZxyz(14.5463, 20.3268, 4.6702)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678722 #422287
analogous
#877422 #678722 #348722
triadic
#678722 #226787 #872267
tetradic
#678722 #228774 #422287 #872234
square
#678722 #228774 #422287 #872234
split-complementary
#678722 #223487 #742287
monochromatic
#1C2509 #425616 #678722 #8CB82E #AAD350

Accessibility & contrast

On white

4.15
#678722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#678722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678722
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678722#FFFFFF#000000##000000
##6787221.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E0F
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#6C8073
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #678722;
/* rgb */ color: rgb(103, 135, 34);
/* oklch */ color: oklch(57.9% 0.131 125.8);
Tailwind
colors: {
  custom: {
    50: '#96aa65',
    500: '#678722',
    950: '#000000',
  },
}
SCSS
$custom: #678722;
$custom-light: #96aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#678722",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 79.01,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57896,
    "c": 0.13094,
    "h": 125.8
  },
  "luminance": 0.20327
}

Semantic roles & 50–950 ramp

primary
#678722
secondary
#6F4EB7
accent
#45E377
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678722

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

Preview Lab → · Contrast checker → · Palette generator →

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