#678228#678228

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

Color values

HEX#678228
RGBrgb(103, 130, 40)
HSLhsl(78, 53%, 33%)
HSVhsv(78, 69%, 51%)
CMYKcmyk(20.8%, 0%, 69.2%, 49%)
CIE-LABlab(50.69, -23.65, 43.65)
CIE-LCHlch(50.69, 49.65, 118.45°)
OKLaboklab(56.68% -0.0681 0.0989)
OKLCHoklch(56.68% 0.12 124.6)
XYZxyz(13.9593, 19.0019, 4.9394)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678228 #432882
analogous
#827028 #678228 #3A8228
triadic
#678228 #286782 #822867
tetradic
#678228 #288270 #432882 #82283A
square
#678228 #288270 #432882 #82283A
split-complementary
#678228 #283A82 #702882
monochromatic
#1D240B #42531A #678228 #8CB136 #A9CC59

Accessibility & contrast

On white

4.37
#678228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##678228#FFFFFF#000000##000000
##6782281.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #678228;
/* rgb */ color: rgb(103, 130, 40);
/* oklch */ color: oklch(56.7% 0.120 124.6);
Tailwind
colors: {
  custom: {
    50: '#95a667',
    500: '#678228',
    950: '#000000',
  },
}
SCSS
$custom: #678228;
$custom-light: #95a667;
$custom-dark: #000000;
JSON
{
  "hex": "#678228",
  "rgb": {
    "r": 103,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 78,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56684,
    "c": 0.1201,
    "h": 124.6
  },
  "luminance": 0.19002
}

Semantic roles & 50–950 ramp

primary
#678228
secondary
#7155B1
accent
#4BDC77
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #678228

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

Preview Lab → · Contrast checker → · Palette generator →

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