#677217#677217

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

Color values

HEX#677217
RGBrgb(103, 114, 23)
HSLhsl(67, 66%, 27%)
HSVhsv(67, 80%, 45%)
CMYKcmyk(9.6%, 0%, 79.8%, 55.3%)
CIE-LABlab(45.61, -16.36, 45.27)
CIE-LCHlch(45.61, 48.13, 109.87°)
OKLaboklab(52.55% -0.0496 0.0994)
OKLCHoklch(52.55% 0.111 116.5)
XYZxyz(11.7658, 14.9802, 3.0821)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#677217 #221772
analogous
#725017 #677217 #3A7217
triadic
#677217 #176772 #721767
tetradic
#677217 #177250 #221772 #72173A
square
#677217 #177250 #221772 #72173A
split-complementary
#677217 #173A72 #501772
monochromatic
#171905 #393F0D #677217 #95A521 #C1D52E

Accessibility & contrast

On white

5.26
#677217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #677217
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##677217#FFFFFF#000000##FFFFFF
##6772171.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #677217;
/* rgb */ color: rgb(103, 114, 23);
/* oklch */ color: oklch(52.5% 0.111 116.5);
Tailwind
colors: {
  custom: {
    50: '#959a5d',
    500: '#677217',
    950: '#000000',
  },
}
SCSS
$custom: #677217;
$custom-light: #959a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#677217",
  "rgb": {
    "r": 103,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 67.253,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.11105,
    "h": 116.5
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#677217
secondary
#4A3DA8
accent
#3EE953
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #677217

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

Preview Lab → · Contrast checker → · Palette generator →

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