#677218#677218

#677218 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.6% C 0.110 H 116.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#677218
RGBrgb(103, 114, 24)
HSLhsl(67, 65%, 27%)
HSVhsv(67, 79%, 45%)
CMYKcmyk(9.6%, 0%, 78.9%, 55.3%)
CIE-LABlab(45.61, -16.31, 44.92)
CIE-LCHlch(45.61, 47.79, 109.95°)
OKLaboklab(52.56% -0.0494 0.0988)
OKLCHoklch(52.56% 0.11 116.5)
XYZxyz(11.7760, 14.9843, 3.1359)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677218 #231872
analogous
#725018 #677218 #3A7218
triadic
#677218 #186772 #721867
tetradic
#677218 #187250 #231872 #72183A
square
#677218 #187250 #231872 #72183A
split-complementary
#677218 #183A72 #501872
monochromatic
#171905 #393F0D #677218 #95A523 #C0D431

Accessibility & contrast

On white

5.25
#677218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#677218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #677218
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677218#FFFFFF#000000##FFFFFF
##6772181.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C03
Deuteranopia (green-blind)
#796D20
Tritanopia (blue-blind)
#6E6B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #677218;
/* rgb */ color: rgb(103, 114, 24);
/* oklch */ color: oklch(52.6% 0.110 116.5);
Tailwind
colors: {
  custom: {
    50: '#959a5d',
    500: '#677218',
    950: '#000000',
  },
}
SCSS
$custom: #677218;
$custom-light: #959a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#677218",
  "rgb": {
    "r": 103,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 67.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52556,
    "c": 0.11048,
    "h": 116.5
  },
  "luminance": 0.14984
}

Semantic roles & 50–950 ramp

primary
#677218
secondary
#4B3EA7
accent
#40E854
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #677218

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

Preview Lab → · Contrast checker → · Palette generator →

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