#677118#677118

#677118 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.3% C 0.109 H 116.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#677118
RGBrgb(103, 113, 24)
HSLhsl(67, 65%, 27%)
HSVhsv(67, 79%, 44%)
CMYKcmyk(8.8%, 0%, 78.8%, 55.7%)
CIE-LABlab(45.30, -15.77, 44.64)
CIE-LCHlch(45.30, 47.34, 109.46°)
OKLaboklab(52.31% -0.0479 0.0982)
OKLCHoklch(52.31% 0.109 116)
XYZxyz(11.6638, 14.7599, 3.0985)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677118 #221871
analogous
#714F18 #677118 #3A7118
triadic
#677118 #186771 #711867
tetradic
#677118 #18714F #221871 #71183A
square
#677118 #18714F #221871 #71183A
split-complementary
#677118 #183A71 #4F1871
monochromatic
#171905 #393F0D #677118 #95A323 #C1D330

Accessibility & contrast

On white

5.31
#677118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#677118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #677118
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677118#FFFFFF#000000##FFFFFF
##6771181.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B04
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#6E6A60
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #677118;
/* rgb */ color: rgb(103, 113, 24);
/* oklch */ color: oklch(52.3% 0.109 116.0);
Tailwind
colors: {
  custom: {
    50: '#95995d',
    500: '#677118',
    950: '#000000',
  },
}
SCSS
$custom: #677118;
$custom-light: #95995d;
$custom-dark: #000000;
JSON
{
  "hex": "#677118",
  "rgb": {
    "r": 103,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 66.742,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.10928,
    "h": 116
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#677118
secondary
#4A3EA6
accent
#40E853
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #677118

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

Preview Lab → · Contrast checker → · Palette generator →

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