#677018#677018

#677018 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.1% C 0.108 H 115.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#677018
RGBrgb(103, 112, 24)
HSLhsl(66, 65%, 27%)
HSVhsv(66, 79%, 44%)
CMYKcmyk(8%, 0%, 78.6%, 56.1%)
CIE-LABlab(44.99, -15.23, 44.35)
CIE-LCHlch(44.99, 46.89, 108.95°)
OKLaboklab(52.06% -0.0464 0.0976)
OKLCHoklch(52.06% 0.108 115.4)
XYZxyz(11.5529, 14.5380, 3.0615)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677018 #211870
analogous
#704D18 #677018 #3B7018
triadic
#677018 #186770 #701867
tetradic
#677018 #18704D #211870 #70183B
square
#677018 #18704D #211870 #70183B
split-complementary
#677018 #183B70 #4D1870
monochromatic
#171905 #393E0D #677018 #95A223 #C2D330

Accessibility & contrast

On white

5.37
#677018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#677018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #677018
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677018#FFFFFF#000000##FFFFFF
##6770181.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A04
Deuteranopia (green-blind)
#786B20
Tritanopia (blue-blind)
#6E695F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #677018;
/* rgb */ color: rgb(103, 112, 24);
/* oklch */ color: oklch(52.1% 0.108 115.4);
Tailwind
colors: {
  custom: {
    50: '#95985d',
    500: '#677018',
    950: '#000000',
  },
}
SCSS
$custom: #677018;
$custom-light: #95985d;
$custom-dark: #000000;
JSON
{
  "hex": "#677018",
  "rgb": {
    "r": 103,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 66.136,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.10808,
    "h": 115.4
  },
  "luminance": 0.14538
}

Semantic roles & 50–950 ramp

primary
#677018
secondary
#493EA5
accent
#40E851
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #677018

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

Preview Lab → · Contrast checker → · Palette generator →

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