#678A22#678A22

#678A22 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.7% C 0.135 H 126.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#678A22
RGBrgb(103, 138, 34)
HSLhsl(80, 60%, 34%)
HSVhsv(80, 75%, 54%)
CMYKcmyk(25.4%, 0%, 75.4%, 45.9%)
CIE-LABlab(53.14, -28.00, 48.50)
CIE-LCHlch(53.14, 56.00, 120.00°)
OKLaboklab(58.66% -0.0806 0.1081)
OKLCHoklch(58.66% 0.135 126.7)
XYZxyz(14.9708, 21.1757, 4.8117)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678A22 #45228A
analogous
#8A7922 #678A22 #338A22
triadic
#678A22 #22678A #8A2267
tetradic
#678A22 #228A79 #45228A #8A2233
square
#678A22 #228A79 #45228A #8A2233
split-complementary
#678A22 #22338A #79228A
monochromatic
#1E280A #425916 #678A22 #8CBB2E #A9D452

Accessibility & contrast

On white

4.01
#678A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#678A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678A22
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678A22#FFFFFF#000000##000000
##678A221.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#6B8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #678a22;
/* rgb */ color: rgb(103, 138, 34);
/* oklch */ color: oklch(58.7% 0.135 126.7);
Tailwind
colors: {
  custom: {
    50: '#96ac65',
    500: '#678a22',
    950: '#000000',
  },
}
SCSS
$custom: #678a22;
$custom-light: #96ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#678a22",
  "rgb": {
    "r": 103,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 80.192,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58655,
    "c": 0.13486,
    "h": 126.7
  },
  "luminance": 0.21176
}

Semantic roles & 50–950 ramp

primary
#678A22
secondary
#7350B8
accent
#44E47A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678A22

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

Preview Lab → · Contrast checker → · Palette generator →

#678A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva