#678E31#678E31

#678E31 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.8% C 0.129 H 129.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#678E31
RGBrgb(103, 142, 49)
HSLhsl(85, 49%, 37%)
HSVhsv(85, 65%, 56%)
CMYKcmyk(27.5%, 0%, 65.5%, 44.3%)
CIE-LABlab(54.50, -28.85, 43.77)
CIE-LCHlch(54.50, 52.42, 123.39°)
OKLaboklab(59.8% -0.0816 0.1005)
OKLCHoklch(59.8% 0.129 129.1)
XYZxyz(15.8208, 22.4509, 6.4051)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678E31 #58318E
analogous
#8E8631 #678E31 #398E31
triadic
#678E31 #31678E #8E3167
tetradic
#678E31 #318E86 #58318E #8E3139
square
#678E31 #318E86 #58318E #8E3139
split-complementary
#678E31 #31398E #86318E
monochromatic
#253312 #466121 #678E31 #88BB41 #A4CD6D

Accessibility & contrast

On white

3.82
#678E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#678E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678E31
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678E31#FFFFFF#000000##000000
##678E311.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958425
Deuteranopia (green-blind)
#8F8138
Tritanopia (blue-blind)
#6A887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #678e31;
/* rgb */ color: rgb(103, 142, 49);
/* oklch */ color: oklch(59.8% 0.129 129.1);
Tailwind
colors: {
  custom: {
    50: '#95af6e',
    500: '#678e31',
    950: '#000000',
  },
}
SCSS
$custom: #678e31;
$custom-light: #95af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#678e31",
  "rgb": {
    "r": 103,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 85.161,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59796,
    "c": 0.12941,
    "h": 129.1
  },
  "luminance": 0.22451
}

Semantic roles & 50–950 ramp

primary
#678E31
secondary
#8767B4
accent
#50D889
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #678E31

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

Preview Lab → · Contrast checker → · Palette generator →

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