#678331#678331

#678331 is a mid, moderate yellow-green. Relative luminance 0.193; OKLCH L 57.0% C 0.114 H 125.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#678331
RGBrgb(103, 131, 49)
HSLhsl(80, 46%, 35%)
HSVhsv(80, 63%, 51%)
CMYKcmyk(21.4%, 0%, 62.6%, 48.6%)
CIE-LABlab(51.08, -23.43, 40.03)
CIE-LCHlch(51.08, 46.38, 120.34°)
OKLaboklab(57.03% -0.0666 0.0925)
OKLCHoklch(57.03% 0.114 125.8)
XYZxyz(14.2642, 19.3377, 5.8862)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678331 #4D3183
analogous
#837631 #678331 #3E8331
triadic
#678331 #316783 #833167
tetradic
#678331 #318376 #4D3183 #83313E
square
#678331 #318376 #4D3183 #83313E
split-complementary
#678331 #313E83 #763183
monochromatic
#212A10 #445620 #678331 #8AB042 #A6C668

Accessibility & contrast

On white

4.31
#678331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#678331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678331
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678331#FFFFFF#000000##000000
##6783311.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B28
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#6B7D72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #678331;
/* rgb */ color: rgb(103, 131, 49);
/* oklch */ color: oklch(57.0% 0.114 125.8);
Tailwind
colors: {
  custom: {
    50: '#95a76d',
    500: '#678331',
    950: '#000000',
  },
}
SCSS
$custom: #678331;
$custom-light: #95a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#678331",
  "rgb": {
    "r": 103,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 80.488,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57025,
    "c": 0.11402,
    "h": 125.8
  },
  "luminance": 0.19338
}

Semantic roles & 50–950 ramp

primary
#678331
secondary
#7C62AE
accent
#53D57F
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #678331

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

Preview Lab → · Contrast checker → · Palette generator →

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