#677128#677128

#677128 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.4% C 0.097 H 116.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#677128
RGBrgb(103, 113, 40)
HSLhsl(68, 48%, 30%)
HSVhsv(68, 65%, 44%)
CMYKcmyk(8.8%, 0%, 64.6%, 55.7%)
CIE-LABlab(45.42, -14.75, 38.08)
CIE-LCHlch(45.42, 40.84, 111.18°)
OKLaboklab(52.44% -0.0434 0.0872)
OKLCHoklch(52.44% 0.097 116.5)
XYZxyz(11.8819, 14.8472, 4.2469)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677128 #322871
analogous
#715628 #677128 #437128
triadic
#677128 #286771 #712867
tetradic
#677128 #287156 #322871 #712843
square
#677128 #287156 #322871 #712843
split-complementary
#677128 #284371 #562871
monochromatic
#151708 #3E4418 #677128 #909E38 #B2C252

Accessibility & contrast

On white

5.29
#677128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#677128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #677128
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677128#FFFFFF#000000##FFFFFF
##6771281.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#786C2D
Tritanopia (blue-blind)
#6D6B62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #677128;
/* rgb */ color: rgb(103, 113, 40);
/* oklch */ color: oklch(52.4% 0.097 116.5);
Tailwind
colors: {
  custom: {
    50: '#949966',
    500: '#677128',
    950: '#000000',
  },
}
SCSS
$custom: #677128;
$custom-light: #949966;
$custom-dark: #000000;
JSON
{
  "hex": "#677128",
  "rgb": {
    "r": 103,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 68.219,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.52443,
    "c": 0.09736,
    "h": 116.5
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#677128
secondary
#5D52A3
accent
#50D763
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0E06
muted
#7E7E7A

Preview Lab

Preview with #677128

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

Preview Lab → · Contrast checker → · Palette generator →

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