#678F28#678F28

#678F28 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.0% C 0.138 H 128.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#678F28
RGBrgb(103, 143, 40)
HSLhsl(83, 56%, 36%)
HSVhsv(83, 72%, 56%)
CMYKcmyk(28%, 0%, 72%, 43.9%)
CIE-LABlab(54.74, -30.01, 47.80)
CIE-LCHlch(54.74, 56.44, 122.12°)
OKLaboklab(59.97% -0.0856 0.1076)
OKLCHoklch(59.97% 0.138 128.5)
XYZxyz(15.7990, 22.6813, 5.5526)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678F28 #50288F
analogous
#8F8328 #678F28 #338F28
triadic
#678F28 #28678F #8F2867
tetradic
#678F28 #288F83 #50288F #8F2833
square
#678F28 #288F83 #50288F #8F2833
split-complementary
#678F28 #28338F #83288F
monochromatic
#222F0D #455F1B #678F28 #89BF35 #A6D25F

Accessibility & contrast

On white

3.79
#678F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#678F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678F28
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678F28#FFFFFF#000000##000000
##678F281.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968517
Deuteranopia (green-blind)
#918231
Tritanopia (blue-blind)
#6A887B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #678f28;
/* rgb */ color: rgb(103, 143, 40);
/* oklch */ color: oklch(60.0% 0.138 128.5);
Tailwind
colors: {
  custom: {
    50: '#96b069',
    500: '#678f28',
    950: '#000000',
  },
}
SCSS
$custom: #678f28;
$custom-light: #96b069;
$custom-dark: #000000;
JSON
{
  "hex": "#678f28",
  "rgb": {
    "r": 103,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 83.301,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59968,
    "c": 0.13751,
    "h": 128.5
  },
  "luminance": 0.22682
}

Semantic roles & 50–950 ramp

primary
#678F28
secondary
#7F5BB8
accent
#48E083
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #678F28

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

Preview Lab → · Contrast checker → · Palette generator →

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