#678F31#678F31

#678F31 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.0% C 0.131 H 129.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#678F31
RGBrgb(103, 143, 49)
HSLhsl(86, 49%, 38%)
HSVhsv(86, 66%, 56%)
CMYKcmyk(28%, 0%, 65.7%, 43.9%)
CIE-LABlab(54.81, -29.33, 44.11)
CIE-LCHlch(54.81, 52.97, 123.62°)
OKLaboklab(60.05% -0.0829 0.1012)
OKLCHoklch(60.05% 0.131 129.3)
XYZxyz(15.9703, 22.7498, 6.4549)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678F31 #59318F
analogous
#8F8831 #678F31 #388F31
triadic
#678F31 #31678F #8F3167
tetradic
#678F31 #318F88 #59318F #8F3138
square
#678F31 #318F88 #59318F #8F3138
split-complementary
#678F31 #31388F #88318F
monochromatic
#253412 #466121 #678F31 #88BD41 #A4CD6D

Accessibility & contrast

On white

3.78
#678F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#678F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678F31
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678F31#FFFFFF#000000##000000
##678F311.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968525
Deuteranopia (green-blind)
#908238
Tritanopia (blue-blind)
#6A897C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #678f31;
/* rgb */ color: rgb(103, 143, 49);
/* oklch */ color: oklch(60.0% 0.131 129.3);
Tailwind
colors: {
  custom: {
    50: '#95b06e',
    500: '#678f31',
    950: '#000000',
  },
}
SCSS
$custom: #678f31;
$custom-light: #95b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#678f31",
  "rgb": {
    "r": 103,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 85.532,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60048,
    "c": 0.1308,
    "h": 129.3
  },
  "luminance": 0.2275
}

Semantic roles & 50–950 ramp

primary
#678F31
secondary
#8867B5
accent
#4FD98A
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #678F31

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

Preview Lab → · Contrast checker → · Palette generator →

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