#678117#678117

#678117 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.3% C 0.130 H 123.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#678117
RGBrgb(103, 129, 23)
HSLhsl(75, 70%, 30%)
HSVhsv(75, 82%, 51%)
CMYKcmyk(20.2%, 0%, 82.2%, 49.4%)
CIE-LABlab(50.27, -24.14, 49.52)
CIE-LCHlch(50.27, 55.09, 115.99°)
OKLaboklab(56.31% -0.0709 0.1084)
OKLCHoklch(56.31% 0.13 123.2)
XYZxyz(13.5986, 18.6459, 3.6930)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678117 #311781
analogous
#816617 #678117 #328117
triadic
#678117 #176781 #811767
tetradic
#678117 #178166 #311781 #811732
square
#678117 #178166 #311781 #811732
split-complementary
#678117 #173281 #661781
monochromatic
#151A05 #3E4D0E #678117 #90B520 #B3DB37

Accessibility & contrast

On white

4.44
#678117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#678117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678117
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678117#FFFFFF#000000##000000
##6781171.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#867722
Tritanopia (blue-blind)
#6D7A6E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #678117;
/* rgb */ color: rgb(103, 129, 23);
/* oklch */ color: oklch(56.3% 0.130 123.2);
Tailwind
colors: {
  custom: {
    50: '#96a55f',
    500: '#678117',
    950: '#000000',
  },
}
SCSS
$custom: #678117;
$custom-light: #96a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#678117",
  "rgb": {
    "r": 103,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 74.717,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.12953,
    "h": 123.2
  },
  "luminance": 0.18646
}

Semantic roles & 50–950 ramp

primary
#678117
secondary
#5C3EB5
accent
#3BED67
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #678117

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

Preview Lab → · Contrast checker → · Palette generator →

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