#678E1B#678E1B

#678E1B is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.6% C 0.144 H 127.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#678E1B
RGBrgb(103, 142, 27)
HSLhsl(80, 68%, 33%)
HSVhsv(80, 81%, 56%)
CMYKcmyk(27.5%, 0%, 81%, 44.3%)
CIE-LABlab(54.35, -30.28, 52.01)
CIE-LCHlch(54.35, 60.18, 120.21°)
OKLaboklab(59.63% -0.0874 0.1143)
OKLCHoklch(59.63% 0.144 127.4)
XYZxyz(15.4644, 22.3084, 4.5279)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#678E1B #421B8E
analogous
#8E7B1B #678E1B #2D8E1B
triadic
#678E1B #1B678E #8E1B67
tetradic
#678E1B #1B8E7B #421B8E #8E1B2D
square
#678E1B #1B8E7B #421B8E #8E1B2D
split-complementary
#678E1B #1B2D8E #7B1B8E
monochromatic
#1C2707 #425B11 #678E1B #8CC125 #AADC47

Accessibility & contrast

On white

3.84
#678E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#678E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #678E1B
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##678E1B#FFFFFF#000000##000000
##678E1B1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#6B8779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #678e1b;
/* rgb */ color: rgb(103, 142, 27);
/* oklch */ color: oklch(59.6% 0.144 127.4);
Tailwind
colors: {
  custom: {
    50: '#96af62',
    500: '#678e1b',
    950: '#000000',
  },
}
SCSS
$custom: #678e1b;
$custom-light: #96af62;
$custom-dark: #000000;
JSON
{
  "hex": "#678e1b",
  "rgb": {
    "r": 103,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 80.348,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59626,
    "c": 0.14389,
    "h": 127.4
  },
  "luminance": 0.22309
}

Semantic roles & 50–950 ramp

primary
#678E1B
secondary
#6F47BE
accent
#3DEB78
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #678E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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